FireFox Posted September 16, 2009 Share Posted September 16, 2009 (edited) Lock'n 1.3 Update : Version 1.3 Improved script and updated to current autoit stable version. Version 1.2 Added function to remove or restore security tab ! _ Description : Lock your data with a password, if the user wants to access on the protect data a "Denied Access" msgbox will come up !Screenshot :How to use it ? -Create a context item on "AllFilesystemObjects" ;Create this script in the same folder as Lock'n.exe ShellExecute("Lock'n.exe", '/cm-Create') ;Remove the context menu ;~ ShellExecute("Lock'n.exe", '/cm-Remove') -Set a new password for Lock'n ;Create this script in the same folder as Lock'n.exe ;Default password : Lock'n ShellExecute("Lock'n.exe", '/password') -Now right-click on any file/folder and click on "Un/Lock'n !" -Enter the password and select what you want to lock then click on "Lock" -Double click on the file/folder you have locked... Tadaa ! -In order to unlock it, just do the same thing as locking. -New ! Remove or restore security tab ;Create this script in the same folder as Lock'n.exe ;Remove security tab ShellExecute("Lock'n.exe", '/st-Remove') ;Create this script in the same folder as Lock'n.exe ;Restore security tab ShellExecute("Lock'n.exe", '/st-Restore') _ Attachment : Lock'n 1.3 : Lock'n.au3Lock'n 1.2 : hereEnjoy ! Edited June 8, 2014 by FireFox Link to comment Share on other sites More sharing options...
Mat Posted September 16, 2009 Share Posted September 16, 2009 (edited) ERREUR 404 - Document non trouvé L'erreur404 est un code d'erreur dans le protocole HTTP. Ce code est renvoyépar un serveur HTTP pour indiquer que la ressource demandée(généralement une page web) n'existe pas. Certains navigateurs web affichent alors le message «404 File Not Found » (de l'anglais signifiant « fichier non trouvé ») àdestination de l'internaute. Le premier 4 indique une erreur dans larequête, ici une mauvaise URL, venant d'une page obsolàte ou d'uneerreur de saisie d'adresse web de la part du visiteur. Le dernier 4indique le problème causé par cette erreur : la ressource estintrouvable. (http://fr.wikipedia.org/wiki/Erreur_HTTP_404) (English version: http://en.wikipedia.org/wiki/HTTP_404) Page précédenteI'm looking forward to it though!Mat Edited September 16, 2009 by Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
FireFox Posted September 16, 2009 Author Share Posted September 16, 2009 I'm looking forward to it though!MatSorry , It happends , fixed now...Cheers, FireFox. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 16, 2009 Moderators Share Posted September 16, 2009 fixed now...No Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Mat Posted September 16, 2009 Share Posted September 16, 2009 Still not working! You should also probably give some warning before redirecting people like that... I don't mind, but you could be taking us anywhere. You are actually killing me here. So close to finally finding something on these forums I could actually use... and the download doesn't work! Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
FireFox Posted September 16, 2009 Author Share Posted September 16, 2009 (edited) Still not working! You should also probably give some warning before redirecting people like that... I don't mind, but you could be taking us anywhere.You are actually killing me here. So close to finally finding something on these forums I could actually use... and the download doesn't work!MatIt wasn't a problem from me, finally fixed now So close to finally finding something on these forums I could actually use...What do you mean ? Cheers, FireFox. Edited September 16, 2009 by FireFox Link to comment Share on other sites More sharing options...
X42Negative Posted September 21, 2009 Share Posted September 21, 2009 Doesn't work. Link to comment Share on other sites More sharing options...
FireFox Posted September 22, 2009 Author Share Posted September 22, 2009 Doesn't work.Very explicative ! Cheers, FireFox. Link to comment Share on other sites More sharing options...
X42Negative Posted September 22, 2009 Share Posted September 22, 2009 Very explicative ! Cheers, FireFox.It just doesn't work. I try locking a folder and it does nothing. I try unlocking a folder, it does nothing. So therefore, it doesn't work. I am using Windows 7 RTM Enterprise 90-day Trial Build 7600. Link to comment Share on other sites More sharing options...
FireFox Posted September 23, 2009 Author Share Posted September 23, 2009 It just doesn't work. I try locking a folder and it does nothing. I try unlocking a folder, it does nothing. So therefore, it doesn't work. I am using Windows 7 RTM Enterprise 90-day Trial Build 7600.But the problem is that it works for me and i'm on Win7 too...@everybodyVersion 0.0.0.2 available ! (see first post for update)Cheers, FireFox. Link to comment Share on other sites More sharing options...
PhoenixXL Posted May 13, 2012 Share Posted May 13, 2012 (edited) You are great FireFox I wanted something like this you have made it just awesome. Keep up the good work. Edited September 22, 2013 by PhoenixXL My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
FireFox Posted May 13, 2012 Author Share Posted May 13, 2012 @PhoenixXL You're welcome. Br, FireFox. Link to comment Share on other sites More sharing options...
Mingre Posted April 29, 2013 Share Posted April 29, 2013 Working on my Win7 64bit. Thanks! Link to comment Share on other sites More sharing options...
aguynamedray Posted September 20, 2013 Share Posted September 20, 2013 Will you please attached the source code here? Our company restricted to visit the prohibited sites like mediafire. Thanks. Link to comment Share on other sites More sharing options...
FireFox Posted September 20, 2013 Author Share Posted September 20, 2013 yeah sure. I will do it this weekend. temporary link Link to comment Share on other sites More sharing options...
Akarillon Posted June 4, 2014 Share Posted June 4, 2014 Is there a problem with this script on a newer version of AutoIT? I only get error messages while trying to compile it. expandcollapse popup>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n.au3" +>13:05:06 Starting AutoIt3Wrapper v.2.2.0.0 SciTE v.3.4.1.0 Keyboard:00000414 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0414) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper ! Obfuscator support has been discontinued and is replaced by Au3Stripper using "#Au3Stripper_" directives. ! The directive to run Au3Stripper is: #AutoIt3Wrapper_Run_Au3Stripper=y ; Default is n ! #Au3Stripper_Parameters options are: ! /so or /striponly : This is the default when no parameters are provided. same as /sf=1 /sv=1 ! /sf or /StripFunctions : 1=Strip all unused Func's (1=default) ! /sv or /StripVariables : 1=Strip all unused Global var records (1=default) ! /mo or /mergeonly : Just merges the Include files into the source and strips the Comments, just like aut2exe would do. ! /soi or /striponlyincludes: same as /striponly but will leave master script untouched. ! /mi or /MaxIterations : Sets the maximum Iterations Au3Stripper will perform. Default is 5. ! /Beta : Use Beta Includes. Dont use AutoIt3Wrapper_Run_Au3Stripper. -> No changes made.. >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 input:\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n.au3 +>13:05:10 AU3Check ended.rc:0 >Running Au3Stripper (1.2.0.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 0.63 Iteration 1 Strip Functions result: Output 714 lines, stripped 3695 Func lines and 5493 Commentlines - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 0.88 Iteration 2 Strip Variables result: Output 213 lines and stripped 501 lines - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 0.88 Iteration 3 Strip Variables result: Output 196 lines and stripped 17 lines - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 1.00 Iteration 4 Strip Variables result: Output 195 lines and stripped 1 lines - ### C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.dat missing... Please get it from the website to make sure the Obfuscation will work correctly. - 1.00 Iteration 5 Strip Variables result: Output 195 lines and stripped 0 lines +> Source 10019 lines 541342 Characters. +> Stripped 4214 Func/Var lines and 5493 comment lines, Total 533053 Characters. +> Saved 96% lines 98% Characters. +> 1 Au3Stripper v1.2.0.0 finished created:\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n_stripped.au3 +>13:05:11 Au3Stripper ended.rc:0 >Running AU3Check (3.3.10.2) from:C:\Program Files (x86)\AutoIt3 input:\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n_stripped.au3 "\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n_stripped.au3"(129,26) : error: _Exit(): undefined function. GUISetOnEvent(-3, '_Exit') ~~~~~~~~~~~~~~~~~~~~~~~~~^ "\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n_stripped.au3"(139,33) : error: _Lock(): undefined function. GUICtrlSetOnEvent($b_cr, '_Lock') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "\\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n_stripped.au3"(153,31) : error: _Apply(): undefined function. GUICtrlSetOnEvent(-1, '_Apply') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ \\domain\folder$\username\Documents\AutoIT\Prosjekter\Lock'n\Lock'n_stripped.au3 - 3 error(s), 0 warning(s) !>13:05:11 AU3Check ended. Press F4 to jump to next error.rc:2 +>13:05:11 AutoIt3Wrapper Finished. >Exit code: 2 Time: 5.788 Tried changing Obfuscator to Au3Stripper, but no success. It also opens a new script called Lock'n_stripped.au3 that has undefined functions. Would really love to have something like this. Cheers, Akarillon Challenge accepted! Link to comment Share on other sites More sharing options...
FireFox Posted June 8, 2014 Author Share Posted June 8, 2014 Wow, this is an old script See the rewritten version. Br, FireFox. Link to comment Share on other sites More sharing options...
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