PDA

View Full Version : How To Prevent Unauthorised Views of site files


IanRow
02-12-2003, 06:20 AM
When I have uploaded my site files I want to be able to prevent unauthorised views of these files and the site directory structure.

How can I do this such that user gets a 'You are not authorized to view this page' HTTP 403 error[?]

Ian Rowland

bruce
02-12-2003, 10:55 AM
Ian,

If you are using ASP.net, you can control access by using the built in feature of ASP.net authorization. You can do that by changing the web.config file. A good walkthrough can be found here

http://www.asp101.com/articles/cynthia/authentication/default.asp

We do not offer password protection as of currently. We should have this feature by end of Q3.

[b]quote:Originally posted by IanRow

When I have uploaded my site files I want to be able to prevent unauthorised views of these files and the site directory structure.

How can I do this such that user gets a 'You are not authorized to view this page' HTTP 403 error[?]

Ian Rowland
</blockquote id="quote"></font id="quote">

rowby
02-21-2003, 08:03 AM
Hi,

We are on discountasp.net. Is that the same as asp.net?

Thanks

Eric
02-21-2003, 10:04 AM
rowby

I think there is some confusion. When bruce was mentioning ASP.NET, he meant programming in ASP.NET, not ASP.NET as a hosting company.

DiscountASP.NET specializes in hosting ASP and ASP.NET driven websites.

Look in the Online Resources Forum here to get more information about ASP.NET.