Restricted Access: Intranet
- Demo
- Files
- www/basePagedotNetGenerator.aspx.cs
- www/web.config
- www/css/restrictedAccess.css
- www/javascript/restrictedAccess.js
- www/javascriptO2/restrictedAccess.js
- www/xml/include/restrictedPages.xml
- www/xml/include/groceries.xml
- www/o2Net/applications/RestrictedAccess
- Install
- www
- BasePagedotNetGenerator.aspx.cs
- web.config
- baseUrl o2Net or o2NetDev
- SmtpServer email requirements
- css
- javascriptO2
- javascript
- restrictedAccess.js
- baseUrl o2Net or o2NetDev
- images/interface/
- xslt
- restrictedAccess.xslt (changed from restrictedAccessLogin.xslt)
- restrictedAccessNav.xslt
- xml/include
- See notes
- Set restricted pages here
- o2Net/Applications/RestrictedAccess/ (o2NetDev copy)
- NOTES
- o2NetDev
- Develoment and testing, uncompilled is edited under the client directory in order for the redirect to work!
- So if edits are done, they must be done in the client o2NetDev version - migrated over to o2NetDev standardard and then any other client directories using this
- xslt
- approveUser.xslt
- createAccount.xslt (user create and edit)
- editCreateUser.xslt (for admin)
- forgotPassword.xslt
- login.xslt
- searchUser.xslt
- userEditAccount.xslt
- Procedure
- Install any sub pages that are hidden
- xslt/restrictedAccessNav.xslt
- javascript/restrictecAccess.js
- Hide sub pages by editing xml document
- Customize restrictedAccess.js for redirect and base page
- Delete virtual directory o2Net/o2NetDev and copy over o2NetDev to dir, for compilation
- Must be physical files and not virtual otherwise non-logged in redirect will not work
- Config
- web.config
- javascript/restrictedAccess.js
- Log In/Out redirect
- baseUrl
- users
- forgotPassword
- forgotPassEmailFrom
- forgotPassBcc
- forgotPassEmailSubject
- forgotPassEmailBody1
- forgotPassEmailBody2
- createAccount
- creatAccountEmailFrom
- createAccountEmailInternalTo
- createAccountEmailBcc
- CreateAccountEmailSubject
- CreateAccountBody1
- Notes
- editCreateUser & userEditAccount
- Both use the same code - same js and .cs code, different xslt
- userEditAccount: user is changing their info
- editCreateUser: admin is modifying
- Features
- Login/Restricted Access
- Forgot Password
- Create Account
- Administration
- Approve Users Awaiting Approval
- Search Users
- Edit/Create User
- Set Access Level
- User name & Password
- General information (i.e. Name, Organization)
- Approval (Approved/Un-Approved)
- Secret Question & Answer
- Generate Random Password
- Email Password
- User Administration
- Edit everything but User Name (email address)
- Troubleshoot
- Sub pages that are locked out are not redirecting when not logged in
- Sub pages still redirect even when Logged in correctly
- o2Net or o2NetDev is virtual thereby not really reading the installed directory
- You could have the files there by a virtual install will overwrite that
- Sub pages are not redirecting when not logged in
- Be sure pages are entered into the xml in lower case