Last post Sep 03, 2008 12:02 PM by smithmrk
Member
14 Points
55 Posts
Sep 03, 2008 09:32 AM|smithmrk|LINK
What is the point of the Login if you can get to the Photo Albums, Resume, Links, etc?
Shouldn't the pages all be locked down until you login into the web stie?
How can I lock down these pages so they can ONLY be viewed when you login first?
Thanks,
Mark
All-Star
191741 Points
20952 Posts
ASPInsiders
Moderator
MVP
Sep 03, 2008 09:50 AM|XIII|LINK
Hi,
the login is for the administrator of the website where (s)he can upload pictures and put them in albums.
Grz, Kris.
Sep 03, 2008 09:58 AM|smithmrk|LINK
Thanks!
So now my question is how can I make all my pages private until the user logs in?
Sep 03, 2008 10:28 AM|XIII|LINK
in the web.config add
<authorization> <deny users="?"/> </authorization>
under <system.web> element.
Sep 03, 2008 12:00 PM|smithmrk|LINK
OK, I did that but I can still view the pictures without logging in?
Sep 03, 2008 12:02 PM|smithmrk|LINK
Never mind!
I typed it wrong!
It worked thanks,
Member
14 Points
55 Posts
Personal Web Site - Login??
Sep 03, 2008 09:32 AM|smithmrk|LINK
What is the point of the Login if you can get to the Photo Albums, Resume, Links, etc?
Shouldn't the pages all be locked down until you login into the web stie?
How can I lock down these pages so they can ONLY be viewed when you login first?
Thanks,
Mark
All-Star
191741 Points
20952 Posts
ASPInsiders
Moderator
MVP
Re: Personal Web Site - Login??
Sep 03, 2008 09:50 AM|XIII|LINK
Hi,
the login is for the administrator of the website where (s)he can upload pictures and put them in albums.
Grz, Kris.
Working with Azure, chatbots, ASP.NET MVC, Web API, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Member
14 Points
55 Posts
Re: Personal Web Site - Login??
Sep 03, 2008 09:58 AM|smithmrk|LINK
Thanks!
So now my question is how can I make all my pages private until the user logs in?
Mark
All-Star
191741 Points
20952 Posts
ASPInsiders
Moderator
MVP
Re: Personal Web Site - Login??
Sep 03, 2008 10:28 AM|XIII|LINK
Hi,
in the web.config add
under <system.web> element.
Grz, Kris.
Working with Azure, chatbots, ASP.NET MVC, Web API, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Member
14 Points
55 Posts
Re: Personal Web Site - Login??
Sep 03, 2008 12:00 PM|smithmrk|LINK
OK, I did that but I can still view the pictures without logging in?
Mark
Member
14 Points
55 Posts
Re: Personal Web Site - Login??
Sep 03, 2008 12:02 PM|smithmrk|LINK
Never mind!
I typed it wrong!
It worked thanks,
Mark