Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

I am interested in building a secure asp.net site. And I have written the asp.net page to login with the correct username and password. It works fine. Trouble is if you typed in the direct url to the page I am securing you can still access it. How would I keep anyone from doing that? I have a folder that is named file1, which hold the html pages that I need secure. and the project folder is named login. And the url is http://no-one.org/Login/login.aspx when you go to that page you get the login page, you login and proceed to the contents of the file1 folder which would be http://no-one.org/file1/index.html.

How do I make it redirect anyone back to the login page? Is cookies to be used for that? If so can someone explain? I have done the examples that I have found on the net for a secure login page, I guess I'm just not understanding it well. Would someone please help me? Thanks for your time.

 

Fixxxer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...