Angelus
September 4th, 2002, 11:19 AM
Hi,
I am quite new to HTML and Scripting, though I have a reasonable amount of experience in VB, and some Java.
I am currently working on a Web app project which connects to an SQL server database. The first page of my app forces the user to log in, and users the security of the database to verify the login. What I want to know is what is the standard way to stop people trying to backdoor you web app and skip the login?
At the moment if the user were to avoid my Login.html and try to go straight to MainFrame.html they would be allowed. They would not be able to access any asp pages however (which do all of the work) because the asp pages look for a specific value of a certain cookie and if it is not there they redirect the user to the login page.
How do I do something similar for my html pages (non-asp)? Should I convert all of my html pages to asp pages, just so I can use the same protection?
Cheers in advance for any help,
Angelus
I am quite new to HTML and Scripting, though I have a reasonable amount of experience in VB, and some Java.
I am currently working on a Web app project which connects to an SQL server database. The first page of my app forces the user to log in, and users the security of the database to verify the login. What I want to know is what is the standard way to stop people trying to backdoor you web app and skip the login?
At the moment if the user were to avoid my Login.html and try to go straight to MainFrame.html they would be allowed. They would not be able to access any asp pages however (which do all of the work) because the asp pages look for a specific value of a certain cookie and if it is not there they redirect the user to the login page.
How do I do something similar for my html pages (non-asp)? Should I convert all of my html pages to asp pages, just so I can use the same protection?
Cheers in advance for any help,
Angelus