EduGeek AUP Informant Thread, Released: EduGeek AUP Informant in Projects:; Originally Posted by ashok
Great app, looks great. Does this get displayed at every logon? and how does ...
11th March 2008, 06:23 PM #16
Originally Posted by ashok
It's only shown once to the student. As soon as they choose to accept or decline, their preference is saved. So long as that preference file is there, they won't see it again. You can remove the preference file with a quick windows search for "aup.ini" and it'll pop right back up again.
It determines staff / students with a username prefix. Our school uses "stf" to prefix its staff users but you can change this in the config file. If I find a better way of doing this, I'll update the code but it's a case of making it work for the majority of schools.
I hope that answers a few questions. Drop me a PM if you need advice on setting it up.
13th March 2008, 01:03 PM #17
13th March 2008, 03:33 PM #18
Hi Bizzel, having some problems running from a network share
Ive not even tried it on a logon script yet, because I cant actually execute it at all when its on the network. Ive tried several different clients, several servers, and both mapped and UNC shares
Every time I click on it I get ' Acceptable Usage Policy Informant has encountered a problem and needs to close'
this is the error signature
AppName: aup.exe AppVer: 184.108.40.206 AppStamp:47d28f1b
ModName: kernel32.dll ModVer: 5.1.2600.3119 ModStamp:46239bd5
fDebug: 0 Offset: 00012a5b
It runs fine from whatever local drive I put it on, but no network drives at all
13th March 2008, 04:18 PM #19
As far as I'm aware, this is an issue with the .NET framework not trusting the app because it's on another machine, which is why it runs fine locally. I'll investigate what settings might need to be changed to allow full trust. Are you on CC3, by the way?
Originally Posted by sidewinder
Last edited by bizzel; 13th March 2008 at 04:27 PM.
13th March 2008, 07:54 PM #20
Yep, here we go. From Microsoft Support:
You can see some possible solutions here and also here, though none look to be easy for multiple computers unless you can set this via a GPO or registry key somehow.
"By default, a .NET Framework application that runs from the Internet does not have the same level of trust as a .NET Framework application that runs from your local computer. An application that runs from your local computer can access resources such as the file system. However, an application that runs from the Internet or from a local intranet cannot access the file system on your local computer."
I'm glad it's not my code but it's still a real pain. If you still have no luck, you'll have to package it I'm afraid. Let me know how you get on.
Last edited by bizzel; 13th March 2008 at 07:57 PM.
14th March 2008, 11:01 AM #21
Thanks for taking a look. Looks like a bit of a nightmare, might be easier to just package it...I was hoping not to, but I suppose it doesnt make much difference overall
And no we're not CC3, vanilla here
17th March 2008, 09:28 PM #22
I may have found a way around this one. It'll take a couple of days to investigate.
25th March 2008, 12:17 PM #23
- Rep Power
Has anyone packaged this for CC3 yet? if so would you like to share with me?
25th March 2008, 01:28 PM #24
Bugger - running into the .NET Trust problem here
25th March 2008, 10:54 PM #25
Originally Posted by Scotmk
I'd be happy to build you a package but I'd need some information about the network you'll run it on. The only reason I haven't created a ready-made package is because you need to customise the configuration file before you package and deploy. Let me know if I can help with that at all.
I understand that ClickOnce signing the application goes some way towards solving the problem. I don't want to rush anything out but I'll have a small update out this week that might solve it. What I'm doing at the moment is finding out what parts of the code trigger a security exception and either I'll work around them or try to find a neater way to escalate the application's privileges. One real PITA is the fact that a .NET app running in the Intranet zone can't access the local filesystem at all! I'll let you know as soon as I get anywhere.
Originally Posted by Gatt
Last edited by bizzel; 25th March 2008 at 10:58 PM.
27th March 2008, 06:06 PM #26
Last edited by bizzel; 29th March 2008 at 04:36 PM.
29th March 2008, 04:36 PM #27
Here's 1.5.0, fresh from the compliler. It's definitely more stable than 1.3.1 on the whole and has a whole host of improvements. Grab it here.
Here's what's new:
- Added: The AUP can be automatically redisplayed when the policy is modified
- Improved: Default theme is sleeker, better arranged and less messy
- Improved: Larger area for AUP document
- Improved: Config file is XML-based for ease of editing
- Improved: Faster startup time
- Improved: Errors are more readable
- Improved: User level (staff / student) can be determined based on more than just a username prefix
- Possibly Fixed: Crash when running from a remote share on the local network
- Fixed: Incorrect loading of config file in some cases
Thanks to bizzel from:
SteveMC (29th March 2008)
29th March 2008, 06:17 PM #28
Great work! - Is the source going to be available from your site as with the previous version? (I'm interested in adding the option to check for group membership in Active Directory to differentiate between pupils and staff)
29th March 2008, 06:41 PM #29
- Rep Power
Looks good might have used it myself except we are running a Securus server and there is a AUP option.
Students have to accept or decline (decline logs them off) this is each time they logon.
Its also configurable so that you can have different or no AUP for differnt users groups i.e. staff, pupils, etc.
29th March 2008, 07:19 PM #30
Originally Posted by SteveMC
Check the original post on page 1 for a link to the most current source. Was it you who suggested the code that checks if the policy was modified? If so, thanks, that's in this new version along with a setting to turn it on and off.
AD integration would be very nice. Do you know if accessing the directory as a limited user would be a problem?
By Grommit in forum Windows
Last Post: 30th September 2009, 06:02 PM
By marky2027 in forum Hardware
Last Post: 22nd November 2007, 04:51 PM
By techyphil in forum Windows
Last Post: 23rd April 2007, 08:45 PM
By linuxgirlie in forum Windows
Last Post: 6th February 2007, 10:08 AM
By kingswood in forum How do you do....it?
Last Post: 12th July 2006, 07:26 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)