magic2119 Posted November 8, 2011 Posted November 8, 2011 How do i restrict HAP access to a small test group. I was thinking make a group called HAP and join the wanted users to the group and only allow that group access via HAP setup. however i cant find how to do that in HAPs setup page.
Duke5A Posted January 25, 2012 Posted January 25, 2012 (edited) Edit web.config Nick, I added this bit of code to the web.config file and it keeps out users who aren't part of that particular security group, but it still lets them logon in a way. They'll get the logout option, but will be dumped back to login prompt. Does this add to the count of currently logged in users, and is there a way to dump the user back an access denied screen? Thanks again. Edited January 25, 2012 by Duke5A
nickbro Posted January 25, 2012 Posted January 25, 2012 That code is correct. It does not add to the log count, unless they try to log back in. Users should get a unauthorised error message instead of being kicked to the logon screen when using the my files browser. (At least in the extended/v8 versions, should also work in the basic) My Files v8: Alert Message: Access to the path '\\chs01.crickhowell.internal\Shared Area\Admin\Headship\' is denied My Files Basic: Redirected to unauthorised.aspx My Files Extended: Alter Message: Access to the path '\\chs01.crickhowell.internal\Shared Area\Admin\Headship\' is denied If a user attempts to access a part of HAP+ that they aren't allowed to e.g. to the booking system for a student, they should get dumped to the login screen
Duke5A Posted January 25, 2012 Posted January 25, 2012 I'm sorry Nick, I should have clarified. I'm trying to deny students the ability to access HAP altogether. The problem I'm having is after adding that snippet of code to the web.config file in the root of the HAP folder, when attempting to log on as a student your kicked back to log on page without an access denied message. Also, that student's name is then shown in the upper right corner of the page with the log out option. This is what led me to believe the student was actually being logged on and counting against the quota.
nickbro Posted January 25, 2012 Posted January 25, 2012 ok, i'll add some code to the login page for the next release to detect if the user is already logged in and display a warning message
reggiep Posted February 12, 2013 Posted February 12, 2013 Edit web.config Hi Nick, Could you let me know where this is now as the web.config file doesn't have in it OR do we add the whole snippit of code into our existing web.config? Thanks
nickbro Posted February 12, 2013 Posted February 12, 2013 Add it in to the web.config file near the other 1
reggiep Posted February 12, 2013 Posted February 12, 2013 Hmm, I half work if I put this in directly below But I get a lot of internal errors and the drop down menu at the top stops working!
nickbro Posted February 12, 2013 Posted February 12, 2013 Ok, Remove the above code Look for Change it to Should be near the top of the file, inside the main 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now