Last post Aug 31, 2011 08:41 AM by sjnaughton
Aug 31, 2011 04:00 AM|Yannick86|LINK
I'm trying to implement basic security into my ASP.NET Dynamic Data Entities Web Application, but I can't seem to get anything working.
I was wondering if there is any up to date documentation on this. I've seen Naughton's blogposts, but they are for Linq 2 SQL and I think not up to date with VS 2010 + .NET 4.0
I first created the ASP.NET Authentication tables like in Naughton's post here:
I just started testing it with a new project from scratch, but I just can't get routed to the login.aspx page even though I have this ( also tried the commented part, but same result ):
<!--<forms loginUrl="~/Login.aspx" protection="All" path="/"/>-->
I just want to achieve basic logging in. Once I have this I want to look at the role of the user and then allow them to see certain tables.
Thanks in advance,
Aug 31, 2011 08:41 AM|sjnaughton|LINK
Hi Yannick, try my solution here
Securing Dynamic Data 4 (Replay) normal seurity does not work due to routing. trditional security work by securing the physical files this is circumvented by routing.