Home > Domino Tips > Spam and Security > Are your HTTP passwords secure
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SPAM AND SECURITY

Are your HTTP passwords secure


PAUL DUMBLETON
04.03.2002
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Have you ever needed to check to make sure that your users were not using default passwords for their HTTP Password. This script agent will check all person documents in your address book for password that you enter and reset them to nothing.

Code

' ******* (Options) ********
Option Public
Option Declare

' ******* Initialize *******

Sub Initialize
	
'Reset HTTP Passwords: 
	
	Dim session As New NotesSession
	Dim db As NotesDatabase
	Dim view As NotesView
	Dim doc As NotesDocument
	Dim tdoc As NotesDocument
	Dim nextdoc As NotesDocument
	Dim pw As String, epw As String, epwv As Variant
	Dim count As Long
	
	Set db = session.CurrentDatabase
	Set view = db.GetView("People")
	Call view.Refresh
	
	pw = Inputbox("Password to reset", "Reset HTTP Password", "")
	If pw = "" Then
		Exit Sub
	End If
	If Messagebox("This will reset all HTTP Passwords using '" + pw + 
"', OK to proceed?", 49, "Confirm Reset") <> 1 Then Exit Sub End If Set tdoc = db.CreateDocument tdoc.PW = Lcase(pw) epwv = Evaluate("@Password(PW)", tdoc) epw = epwv(0) Open "c:pwresetlog.txt" For Append As 1 Print #1, Print #1, "HTTP Password reset - " + Format(Now()) Print #1, "Reseting all users with password '" + pw + "'" Print #1, count = 0 Set doc = view.GetFirstDocument While Not doc Is Nothing Set nextdoc = view.GetNextDocument(doc) If doc.HTTPPassword(0) = epw Then count = count + 1 Print Format(count) + ": " + doc.FullName(0) Print #1, doc.FullName(0) doc.HTTPPassword = "" Call doc.Save(True, True) End If Set doc = nextdoc Wend Close Messagebox("Log information appended to c:pwresetlog.txt") End Sub

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Spam and Security
Securely connect Lotus Domino servers on different domains
Protect Lotus Notes from malicious code with the Domino ECL
How to correct Lotus Notes public key mismatches in four easy steps
A recipe for secure IM success
Telecommuter security kit
Spear phishing: Don't be a target
FAQ: Lotus Notes Domino password issues
Security awareness training: How to educate employees about spyware
Seven tips to strengthen your Domino e-mail security
Admin2005 preview: Tips, techniques, and a look at Notes/Domino Rel. 7

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts