Home Access Plus+ Thread, HAP - unathorised access in Projects:; I have setup HAP on server 2008 with IIS7. If i log on as administrator I am able to see ...
-
4th October 2011, 03:44 PM #1 HAP - unathorised access
I have setup HAP on server 2008 with IIS7. If i log on as administrator I am able to see the mapped drives setup and browse the folders. logging on as a student or myself I get the error: unauthorised access you have attempted to access a restricted resource
I have messed around with the basic permissions in IIS, added server-ts1 with full control to the mapped drive folders. As a user I have full control to the mapped drives, and so struggling as to why I am unable to access them in HAP.
Has anyone had the same issue where they could talk me through a solution to this?
-
-
IDG Tech News
-
6th October 2011, 03:04 PM #2 The server should be impersonating the user, and as such running as it to connect to network resources. You need to ensure interactive logons are enabled on your server.
-
-
28th November 2011, 11:50 AM #3
- Rep Power
- 0
invalid login

Originally Posted by
nickbro
The server should be impersonating the user, and as such running as it to connect to network resources. You need to ensure interactive logons are enabled on your server.
dear Nick, I have been looking for a web app like with for 10 years. thanks. thanks. thank.
here is my problems:
backgrounds)
environment win 2003r2 and win2008r2 domain controlled. hap installed in win2008r2. on the same server but different site installed sharepoint.
everything installed following video instructions. hap runs if login as a member of domain admins. version installed HAP.Web v7.7.1122.1650 downloaded from this forum
1) setup page Active directory browsing shows only 2 organizational units out of apprix. 20.
2) if login as a studente (member of students) I have "invalid login". please note that "studente" does log on the HAP server. I think this mean logon locally works.
wwwroot/hap directory has "system" "apppool" and "domain admins" only. do I need to add "students"?
many thanks for yout superb and terrific work !!!!
Gian
Last edited by gianzack; 28th November 2011 at 11:53 AM.
-
-
28th November 2011, 01:13 PM #4 The students group does not need adding as HAP+ runs as the apppool for anything requiring access to the local server. Check that you can logon as a student on the server. As this may be what's stopping it working properly, as HAP+ will attempt to log on as the user logged in to process it's requests, but if the server isn't set to allow interactive logons this won't be able to happen.
One option may be to try the Basic Authentication Mode which will be in the delayed v7.7 release
-
-
28th November 2011, 01:47 PM #5
- Rep Power
- 0

Originally Posted by
nickbro
Check that you can logon as a student on the server.
thanks for the quick reply.
I tried and I confirm that I can log on the HAP server as a student.
Could it be an LDAP issue?
many thanks again
gian
-
-
28th November 2011, 01:48 PM #6
- Rep Power
- 0

Originally Posted by
nickbro
The students group does not need adding as HAP+ runs as the apppool for anything requiring access to the local server. Check that you can logon as a student on the server. As this may be what's stopping it working properly, as HAP+ will attempt to log on as the user logged in to process it's requests, but if the server isn't set to allow interactive logons this won't be able to happen.
One option may be to try the Basic Authentication Mode which will be in the delayed v7.7 release
I'm somewhat confused by this.
By default, only domain admins can log on our servers. Does this mean teaching staff will not be able to use HAP once it's loaded onto a server? (As its now running on my local machine for test purposes)
-
-
28th November 2011, 01:53 PM #7 When do you get the not authorised message? After they have logged in. When they try and access a drive.
If the first, check the ~/web.config file, look for authorisation groups
-
-
28th November 2011, 02:37 PM #8
- Rep Power
- 0
should I edit <deny users="?" />
in the following part of web.config?
<system.web>
...
<authorization>
<deny users="?" />
</authorization>
<customErrors mode="Off" />
</system.web>
-
-
28th November 2011, 06:00 PM #9
- Rep Power
- 0

Originally Posted by
nickbro
When do you get the not authorised message? After they have logged in. When they try and access a drive.
If the first, check the ~/web.config file, look for authorisation groups
I have the error on the form itself
sorry for my ignorance, which part of the web.config should I change?
thanks again
-
-
28th November 2011, 09:34 PM #10 Ok, just wanted to check the config was still generic. What page are you trying to access when it gives you the unauthorised error, can you post a screenshot of the error
-
-
29th November 2011, 04:40 PM #11
-
-
29th November 2011, 05:29 PM #12 Ok, one thing you can do, is set HAP+ to run as a Domain User instead of the IISAppPool\HAP user, see if that fixes some things?
-
-
30th November 2011, 10:57 AM #13
- Rep Power
- 0

Originally Posted by
nickbro
Ok, one thing you can do, is set HAP+ to run as a Domain User instead of the IISAppPool\HAP user, see if that fixes some things?
dear nick I have some news:
1) I tried to run as a Domain User or domain admins but still same problem.
2) I setup basic authentication: if I access the default.aspx as student it sees me as a student and viceversa if I login as an admin.
3) but if load login.aspx (with basic authentication) and try to login as a student it still tells me invalid login.
4) I still have the problem (with all the settings I tried) that I can see only a very small part of Active directory with the AD browser but I can bypass it with hapconfig.xml
do you think the problem is with login.aspx?
thanks again
-
-
30th November 2011, 11:19 AM #14 Under basic authentication, login.aspx is redundant
-
SHARE: 
Similar Threads
-
By browolf in forum Scripts
Replies: 4
Last Post: 17th January 2011, 02:36 PM
-
By browolf in forum Jokes/Interweb Things
Replies: 1
Last Post: 23rd September 2005, 08:15 AM
-
By mac_shinobi in forum Coding
Replies: 0
Last Post: 26th August 2005, 01:29 AM
-
By ChrisH in forum Windows
Replies: 2
Last Post: 28th June 2005, 01:27 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules