Solved

XML embedded Email Message

Posted on 2003-11-06
7
176 Views
Last Modified: 2010-04-06
I have someone asking for a way to send someone an email that contains some type of form, or GUI interface where a person receiving the email could enter in some basic pieces of information and when done submit that information directly into a database located somewhere else on the internet. They are wanting this done via XML.
 
Have any of you ever heard of/thought of how this could be done. I'm not sure how an xml message could be embedded or attached to an email, allowing the reader to enter data and submit it to a database.

If you have any ideas how this would work could you point me in the right direction?
0
Comment
Question by:scatee7
  • 3
  • 3
7 Comments
 
LVL 11

Expert Comment

by:Zontar
Comment Utility
Are there even any email clients that support arbitrary XML?

Seems to me there's no reason not just to use a plain old HTML form for something like this.
0
 

Author Comment

by:scatee7
Comment Utility
That is my thought but:

How could you pass the credentials for the database connection without the entire internet being able to see?
0
 
LVL 11

Expert Comment

by:Zontar
Comment Utility
For the form, you mean? You don't do any authentication in the form, you do that in the form processor it posts to. And the DB connection ifno itself you should keep in an include file in non-public space anyway.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:scatee7
Comment Utility
Would that authentication be passed in clear text or is there a way to encrypt the authentication? I do not want someone to be able to see the user and pass to access the db.
0
 
LVL 7

Accepted Solution

by:
minnirok earned 250 total points
Comment Utility
You should not be passing the authentication user/pass for your database to any machine...  There's no need for doing so and it clearly presentes a huge risk.

Rather, setup an include file on the server that has the database connection functions & user/pass in it.  If you place this database connectivity file in a directory above the public www directory, nobody from the outside world will be able to access it but your server will still be able to find it through the local file system.

Best way to go for this would be using PHP/mySQL as it's free and works the most seemlessly w/ all operating systems.  Could also use ASP and Access or some other database system, but this is relies upon windows.
0
 

Author Comment

by:scatee7
Comment Utility
that makes much more sense.

I appreciate the insight.

Scatee7
0
 
LVL 11

Expert Comment

by:Zontar
Comment Utility
> You should not be passing the authentication user/pass for your database to any machine... Rather, setup an include file on the server that has the database connection functions & user/pass in it.

Isn't that what I said?
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now