Page 1 of 2 12>
Topic Options
#177079 - 2007-06-20 06:17 AM Again AUP
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
Dear All
My company decided to get signed our AUP by every single user who logged on to our domain, we decided to do it threw login script, Our AUP is a 4 page document, I am looking for some suggestions here.

Currently I have some ideas like break the AUP by parts for example to day show only Password policies, tomorrow E-mail so on
Make four texts for four policies, name it as pol1.txt, pol2.txt…… place it a central location where all user have read write privilege. When a user accept a policy write down his details to that central location some thing like “User XY signed policy number one time date etc…” name the file as USERIDPOL1.txt next time same user loges on script check for the existence of USERIDPOL1.txt if the file if exist show user second file and do similar operation until user sign all the policies.

Now here I request for some ideas and best practice

Some of you must have done it on better way on your organization, also if some one can post a sample script to do it above mentioned way it will be helpful for me.
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177081 - 2007-06-20 08:25 AM Re: Again AUP [Re: Saleem]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
If you have Web Developers just create a mini Website that will contain the information and log from input forms.

Even more elaborate methods are possible, just depends on the resources you have available to you and the time frame.

You can create interactive training pages with programs like Adobe Captivate or Camtasia

http://www.adobe.com/products/captivate/

http://www.techsmith.com/camtasia.asp

You could also create your own from within Flash Professional if you have someone to do it.

That way it's not so dull and drab and users still have to sign that they've attended/seen/read the material.

Top
#177082 - 2007-06-20 08:32 AM Re: Again AUP [Re: NTDOC]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
Thanx for quick reply..

But how can I force them to sign and record their details ??

can I integrated this solution with login script ?
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177096 - 2007-06-20 06:13 PM Re: Again AUP [Re: Saleem]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
 Quote:
can I integrated this solution with login script ?


You can, but it's not very elegant.

Basically AFTER login (most legal documents state something to the affect that you must not allow them to login UNTIL they agree, but Windows does not support that)
redirect them to a Web page or other similar documentation. Make them sign something and record it to a .INI file. Then read the ini file for the current user and if name not found then FORCE a log off.
Top
#177110 - 2007-06-21 08:39 AM Re: Again AUP [Re: NTDOC]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
I have done some exercise:

I know it can be done better

please review this code and suggest me

 PHP:
Break on Color C/N Box(0, 0, 24, 79, GRID) Color g/N Box(2, 20, 20, 59, FULL) Box(2, 20, 4, 59, FULL) Color Y+/N At(3, 29) "WELCOME TO ABC NETWORK" At(6, 21) "The following box will show ABC AUP" At(8, 21) " Please read carefully and accept" At(10, 21) "Please press OK Button after you read" At(12, 21) "For further queries call Help desk. " Color W+/N At (18,25) "Press any key to continue....." Get $x ? " " CLS $msg1="ABC PASSWORD POLICY @CRLF" $msg2="@CRLF" $msg3="Password has to be minimum 6 charecters @CRLF" $msg4="Password has to be compbination of number and alphebets @CRLF" $msg5="ABC E-MAIL POLICY @CRLF" $msg6="@CRLF" $msg7="Email has to be Business purpose @CRLF" $msg8="Email box size has to be not more than 5 mb @CRLF" $msg9="ABC INTERNET POLICY @CRLF" $msg10="@CRLF" $ms11="Internet has to be Business purpose @CRLF" $ms12="Internet usage need to be restricted @CRLF" ;$pol1=ReadProfileString ("d:\kix\aup_files\@USERID.ini","Pol ID", "@USERID agreed pol1") If Exist ("D:\kix\aup_files\@USERID.ini")=0 $Selection = MessageBox($msg1+$msg2+$msg3+$msg4,"ABC AUP",0) ? $Selection If $Selection = 1 WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 1", "agreed pol1") EndIf Else $pol1=ReadProfileString ("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 1") If ($pol1="agreed pol1") $Selection = MessageBox($msg5+$msg6+$msg7+$msg8,"ABC AUP",0) ? $Selection If $Selection = 1 WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 2", "agreed pol2") EndIf EndIf $pol2=ReadProfileString ("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 2") If ($pol2="agreed pol2") $Selection = MessageBox($msg9+$msg10+$msg11+$msg12,"ABC AUP",0) ? $Selection If $Selection = 1 WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 3", "agreed pol3") EndIf EndIf EndIf


Please let me know how ca I make it work suppose I have 10 policies
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177111 - 2007-06-21 08:58 AM Re: Again AUP [Re: Saleem]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Well if you really want to go down this road with KiXtart then how about using KiXforms?

Using KiXforms will look much nicer and allow user input that is not easy to achieve with KiXtart alone.

You would have to deploy KiXforms to all the desktops though, which can be done via policy.

Top
#177117 - 2007-06-21 10:25 AM Re: Again AUP [Re: NTDOC]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
I would really concider using Kixforms....

Please give me some code example...
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177118 - 2007-06-21 10:44 AM Re: Again AUP [Re: Saleem]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
 Originally Posted By: Saleem

....
Please give me some code example


Have a look at the kixforms website. Lots of examples there.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#177119 - 2007-06-21 10:52 AM Re: Again AUP [Re: Mart]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
sorry

I mean to say how can I re-code my above code on Kix forms format ?? Also how can I solve the issues I mentioned above?
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177122 - 2007-06-21 12:36 PM Re: Again AUP [Re: Saleem]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
Time being please help me to correct this code

Please tell me how can I add more policies here
For Exa:-

when a user logs logs on first time should show first policy
second time only second policy
third time third one
forth time skip all and continue with the rest of the script
please see the below code, it works fine for first time attempt and failing for second and third time

 Quote:

If Exist ("D:\kix\aup_files\@USERID.ini")=0

$Selection = MessageBox($msg1+$msg2+$msg3+$msg4,"ABC AUP",0)

If $Selection = 1
WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 1", "agreed pol1")
EndIf
EndIf
$pol1=ReadProfileString ("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 1")
$pol2=ReadProfileString ("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 2")
$pol3=ReadProfileString ("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 3")

If ($pol1="agreed pol1")
$Selection = MessageBox($msg5+$msg6+$msg7+$msg8,"ABC AUP",0)

If $Selection = 1
WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 2", "agreed pol2")
EndIf
EndIf


If ($pol2="agreed pol2")
$Selection = MessageBox($msg9+$msg10+$msg11+$msg12,"ABC AUP",0)

If $Selection = 1
WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 3", "agreed pol3")
EndIf
EndIf


Please help...
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177123 - 2007-06-21 01:46 PM Re: Again AUP [Re: Saleem]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
because of the 4 x please in your post, I just felt obliged to help ;\)

 Code:
$inifile = "d:\kix\aup_files\@USERID.ini"

Select
	Case ReadProfileString($inifile,"Pol ID","Agreement 1") <> "agreed pol1"

		$Selection = MessageBox($msg1+$msg2+$msg3+$msg4,"ABC AUP1",324)

		If $Selection = 6
			$nul = WriteProfileString($inifile,"Pol ID", "Agreement 1", "agreed pol1")
		EndIf

	Case ReadProfileString($inifile,"Pol ID","Agreement 2") <> "agreed pol2"
		
		$Selection = MessageBox($msg5+$msg6+$msg7+$msg8,"ABC AUP2",324)
		
		If $Selection = 6
			$nul = WriteProfileString($inifile,"Pol ID", "Agreement 2", "agreed pol2")
		EndIf

	Case ReadProfileString($inifile,"Pol ID","Agreement 3") <> "agreed pol3"

		$Selection = MessageBox($msg9+$msg10+$msg11+$msg12,"ABC AUP3",324)

		If $Selection = 6
			$nul = WriteProfileString($inifile,"Pol ID", "Agreement 3", "agreed pol3")
		EndIf

EndSelect

_________________________
The Code is out there

Top
#177136 - 2007-06-21 06:59 PM Re: Again AUP [Re: Saleem]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Well since The Sarge coded for you there - you should be in good hands
Top
#177158 - 2007-06-22 05:30 AM Re: Again AUP [Re: NTDOC]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Email the doc/PDF to existing users and ask them to reply via voting buttons in .e.g Outlook. New users would then have to sign the AUP as part of the request form for an AD password. Finally, use the Lagal Caption option during log in to state that logging into the computer implies consent with the AUP.

I know, the low-tech approach :-)
_________________________
There are two types of vessels, submarines and targets.

Top
#177166 - 2007-06-22 11:52 AM Re: Again AUP [Re: Sealeopard]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
You could make a form in Kixforms as the Doc suggested earlier. And make that form initiate at the end of the loginscript have an Accept and Deny button. If they press the accept button, write the @userid value. If they press the deny button initiate shutdown.exe, write it back to an deny ini, and have an admin script check the deny ini regularly to disable the denied account in the AD.

Anyway thats just my idea.

Top
#177173 - 2007-06-22 01:41 PM Re: Again AUP [Re: Arend_]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Shutdown is build-in in Kix ;\) No need for external exe's.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#177199 - 2007-06-23 08:04 AM Re: Again AUP [Re: Mart]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
Thanx for your replies...


I have decided to wright my above code (may be DrillSergeant code) on kixforms format, because my management wants to make it on more fancy way

I am off for two days I’ll test the code on Sunday and post the result.

Thanx for the help from u guys…
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177216 - 2007-06-25 10:59 AM Re: Again AUP [Re: Saleem]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
This is my first KiX forms script

Please let me know how to make it more attractive with those soft touchings……


 Code:
 
Break On 
	$msg1="Password has to be minimum 6 characters @CRLF"
	$msg2="Password has to be combination of number and alphabets @CRLF"
	
	$msg3="E-Mail has to be Business Usage @CRLF"
	$msg4="Mail box size should not exceed more than 5 mb @CRLF"
	
	$msg5="Internet has to be Business purpose @CRLF"
	$msg6="Internet usage need to be restricted @CRLF"
	
	$System = CreateObject("Kixtart.System")
	$form1 = $System.Form();
	$button1 = $form1.Controls.Button ()
	$button2 = $form1.Controls.Button ()
	$button1.Text = "OK";
	$button1.Location = $System.Point (10, 400)
	$button2.Text = "Cancel";
	$button2.Location = $System.Point (500, 400)
	
	
	$button1.DialogResult = $System.DialogResult.OK
	$button2.DialogResult = $System.DialogResult.Cancel
	
	$form1.Text = "Abu Dhabi Islamic Bank AUP"
	$form1.FormBorderStyle = $System.FormBorderStyle.FixedDialog
	$form1.StartPosition = $system.formStartPosition.centerScreen
	$Form1.Width = 680
	$Form1.bottom = 700
	
 If Exist ("D:\kix\aup_files\@USERID.ini")=0	
	 $label1 = $form1.label("ABC Password Policy")
	 $label1.FontSize=20
	 $label1.Left = 200
	 $label1.width = $form1.scalewidth-$label1.Left-90
	 $label1.height = 50
	 $label2 = $form1.label($msg1)
	 $label2.FontSize=15
	 $label2.location = 5,50
	 $label2.width = 680
	 $label3 = $form1.label($msg2)
	 $label3.FontSize=15
	 $label3.location = 5,80
	 $label3.width = 680
	 
	 $button1.default = true
	 $button2.cancel = true
	
	$= $form1.ShowDialog()
	If ($form1.DialogResult = $System.DialogResult.OK)
	 $= $System.MessageBox.Show("AUP Agreed")
	 $=WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 1", "@Userid agreed pol1") 
	Else
	 $= $System.MessageBox.Show("AUP Declined");
	EndIf
	Gosub end
EndIf
	
If ReadProfileString("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 2") <> "@Userid agreed pol2"

	$label1 = $form1.label("ABC E-Mail Policy")
	$label1.FontSize=20
	$label1.Left = 200
	$label1.width = $form1.scalewidth-$label1.Left-90
	$label1.height = 50
	$label2 = $form1.label($msg3)
	$label2.FontSize=15
	$label2.location = 5,50
	$label2.width = 680
	$label3 = $form1.label($msg4)
	$label3.FontSize=15
	$label3.location = 5,80
	$label3.width = 680
	
	$button1.default = true
	$button2.cancel = true
	$= $form1.ShowDialog()
	If ($form1.DialogResult = $System.DialogResult.OK)
	 $= $System.MessageBox.Show("AUP Agreed")
	 $=WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 2", "@Userid agreed pol2") 
	Else
	 $= $System.MessageBox.Show("AUP Declined");
	EndIf
	Gosub end
EndIf 

If ReadProfileString("d:\kix\aup_files\@USERID.ini","Pol ID","Agreement 3") <> "@Userid agreed pol3"

	$label1 = $form1.label("ABC Internet Policy")
	$label1.FontSize=20
	$label1.Left = 200
	$label1.width = $form1.scalewidth-$label1.Left-90
	$label1.height = 50
	$label2 = $form1.label($msg5)
	$label2.FontSize=15
	$label2.location = 5,50
	$label2.width = 680
	$label3 = $form1.label($msg6)
	$label3.FontSize=15
	$label3.location = 5,80
	$label3.width = 680
	
	
	$button1.default = true
	$button2.cancel = true
	$= $form1.ShowDialog()
	If ($form1.DialogResult = $System.DialogResult.OK)
	 $= $System.MessageBox.Show("AUP Agreed")
	 $=WriteProfileString("d:\kix\aup_files\@USERID.ini","Pol ID", "Agreement 3", "@Userid agreed pol3") 
	Else
	 $= $System.MessageBox.Show("AUP Declined");
	EndIf
	Gosub end
EndIf 

:end
Exit

_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177273 - 2007-06-27 08:27 AM Re: Again AUP [Re: Saleem]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
Plese give me a hand...
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
#177274 - 2007-06-27 08:39 AM Re: Again AUP [Re: Saleem]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Probably have to wait a few hours for some of the other members that are good with KiXforms to come online. I only dabble with it
Top
#177439 - 2007-07-02 09:05 AM Re: Again AUP [Re: NTDOC]
Saleem Offline
Hey THIS is FUN
*

Registered: 2001-04-11
Posts: 280
Loc: UAE
One questian

Can I write the details to a database instead of INI file ?? can login script directly write to a Database without configuring clear text password on the script ??

Just a thought...
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.074 seconds in which 0.027 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org