code_junkie

Using ASP.NET Forms Authentication, how do I get an image to appear on the login screen

Nov 13th, 2011
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <authentication mode="Forms">
  2. <forms name=".ASPXFORMSAUTH"
  3. path="/"
  4. loginUrl="login.aspx"
  5. protection="All" timeout="30">
  6.  
  7. <credentials passwordFormat="SHA1">
  8. <user
  9. name="testuser"
  10. password="hashgoeshere"/>
  11. </credentials>
  12. </forms>
  13. </authentication>
  14. <authorization>
  15. <deny users="?" />
  16. </authorization>
  17.  
  18. <location path="stylesheet.css">
  19. <system.web>
  20. <authorization>
  21. <allow users="*" />
  22. </authorization>
  23. </system.web>
  24. </location>
  25.  
  26. <location path="img/">
  27. <system.web>
  28. <authorization>
  29. <allow users="*" />
  30. </authorization>
  31. </system.web>
  32. </location>
Add Comment
Please, Sign In to add comment