Win2k Pro.
Did NOT work on my NT4 Server box however...
EUREKA!
Bryan, It needs extra lines...
File should be like this...
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\NetWebApps\UserAccount\Security]
"administrator"="cfadmin"
Not like this...
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\NetWebApps\UserAccount\Security]
"administrator"="cfadmin"
The extra lines enabled it to work on NT4.
jeff
-----Original Message-----
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 1:03 PM
To: Jeffrey J. Young
Subject: Re: [KCFusion] Need some advice
Really?
Not sure what would be different on my machine. Did you use it on NT or
2000?
----- Original Message -----
From: "Jeffrey J. Young" <[EMAIL PROTECTED]>
To: "Bryan LaPlante" <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 12:45 PM
Subject: RE: [KCFusion] Need some advice
> Think maybe you have something else going on? That .reg file worked with
no
> probs. string and data showed up fine.
>
> jeff
>
> -----Original Message-----
> From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 08, 2001 12:35 PM
> To: Daryl Banttari
> Cc: Jeff Young
> Subject: Re: [KCFusion] Need some advice
>
>
> Here is the file that my earlier code produces.
>
> ----- Original Message -----
> From: "Daryl Banttari" <[EMAIL PROTECTED]>
> To: "Bryan LaPlante" <[EMAIL PROTECTED]>
> Sent: Monday, January 08, 2001 12:31 PM
> Subject: Re: [KCFusion] Need some advice
>
>
> > There is no shortage of people here in Allaire Consulting wanting to
ditch
> > Siteminder and use something else for Advanced Security. Rumor has it
> that
> > Siteminder is getting bitcanned for 5.0.
> >
> > Let's hope we do a better job than they did ;-)
> >
> > WRT the registry thing: why not give the admin an interface for entering
> > keys? I can't think of any reason a cffile-generated reg file wouldn't
> > work. Can you send an example?
> >
> > Daryl
> >
> > ----- Original Message -----
> > From: "Bryan LaPlante" <[EMAIL PROTECTED]>
> > To: "Daryl Banttari" <[EMAIL PROTECTED]>
> > Sent: Monday, January 08, 2001 12:15 PM
> > Subject: Re: [KCFusion] Need some advice
> >
> >
> > > I have written an application that is a companion to the Cold Fusion
> > > administrator allowing you to add datasources and collections to a
> website
> > > with out giving access to other websites in a multi-hosted scenario.
It
> > also
> > > has a logentry tag that allows you to generate logs for pages that run
> > under
> > > the root of your account and a powerful SQL Script builder, logviewer,
> and
> > a
> > > copy of the cf custom tag wizard.
> > > The product evaluates the root as being one directory level out side
of
> > the
> > > installed program and limits the users ability to browse or have any
> > effect
> > > on other directories outside of his/her own.
> > >
> > > When the user logs in he is asked for his username password and
assigned
> > > security context.
> > > The ISP must set up a user directory and security context to enable a
> > client
> > > to log in with this program.
> > > I ran into a problem with CF's support or I should say non-support of
> the
> > > Microsoft method of LDAP.
> > > So I was trying to think of a way to include functionality for the
> servers
> > > that run it.
> > > I am running out of options here, so I think I may just stick with the
> > > current structure until I know more about LDAP in general.
> > >
> > > Sorry so winded, when ever I don't explain the whole thing I get these
> > > responses that suggest I am trying to hack into someone's machine.
> Thanks
> > > for listening.
> > >
> > > Bryan
> > > ----- Original Message -----
> > > From: "Daryl Banttari" <[EMAIL PROTECTED]>
> > > To: "Bryan LaPlante" <[EMAIL PROTECTED]>
> > > Sent: Monday, January 08, 2001 12:05 PM
> > > Subject: Re: [KCFusion] Need some advice
> > >
> > >
> > > > Are you trying to write to the registry on the server or the client?
> > > > ----- Original Message -----
> > > > From: "Bryan LaPlante" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Monday, January 08, 2001 11:51 AM
> > > > Subject: Re: [KCFusion] Need some advice
> > > >
> > > >
> > > > > Man I think I have tried every imaginable scenario. I am trying to
> add
> > a
> > > > > level of security to my application in favor of an ISP's choice to
> > allow
> > > > > there clients to run it. A user could not install a reg-key on the
> > > remote
> > > > > server. I am already supporting context security in my product so
I
> am
> > > > > inclined to just leave it at that, unless I can find a way to
write
> > this
> > > > reg
> > > > > file on the fly.
> > > > > ----- Original Message -----
> > > > > From: "Daryl Banttari" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Monday, January 08, 2001 9:29 AM
> > > > > Subject: Re: [KCFusion] Need some advice
> > > > >
> > > > >
> > > > > > Perhaps RegEdit needs a cr/lf after the last line?
> > > > > >
> > > > > > Daryl
> > > > > > ----- Original Message -----
> > > > > > From: "Bryan LaPlante" <[EMAIL PROTECTED]>
> > > > > > To: "[KCFusion List] (E-mail)" <[EMAIL PROTECTED]>
> > > > > > Cc: "CF-Server" <[EMAIL PROTECTED]>
> > > > > > Sent: Sunday, January 07, 2001 10:20 PM
> > > > > > Subject: [KCFusion] Need some advice
> > > > > >
> > > > > >
> > > > > > > I am trying to write a simple registry file to send to buyers
of
> > my
> > > > new
> > > > > > > product. It will serve as an unlock code. If I pull up notepad
> > and
> > > > type
> > > > > > the
> > > > > > > following,
> > > > > > >
> > > > > > > REGEDIT4
> > > > > > > [HKEY_LOCAL_MACHINE\SOFTWARE\myCompany\userAccount\Security]
> > > > > > > "administrator"="adminPass"
> > > > > > >
> > > > > > > I can save it as .reg and it will write the key successfully
> when
> > > you
> > > > > > double
> > > > > > > click it.
> > > > > > > If I try to create the file dynamically with the following
code.
> > The
> > > > > file
> > > > > > > produced will create the registry keys but will not make the
> > string
> > > > > entry.
> > > > > > > Any idea's how I can make this second process work?
> > > > > > >
> > > > > > > <CFSET fileString = "REGEDIT4" & #CHR(13)# & #CHR(10)#>
> > > > > > > <CFSET fileString = fileString &
> > > > > > > "[HKEY_LOCAL_MACHINE\SOFTWARE\myCompany\userAccount\Security]"
&
> > > > > #CHR(13)#
> > > > > > &
> > > > > > > #CHR(10)#>
> > > > > > > <CFSET fileString = fileString &
'"administrator"="adminPass"'>
> > > > > > >
> > > > > > > <CFFILE ACTION="WRITE"
> > > FILE="c:\inetpub\wwwroot\Security\account.reg"
> > > > > > > OUTPUT="#fileString#" ADDNEWLINE="No">
> > > > > > > Bryan LaPlante
> > > > > > > 816-347-8220
> > > > > > > [EMAIL PROTECTED]
> > > > > > > http://www.netwebapps.com
> > > > > > > Web Development
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > ______________________________________________________________________
> > > > > > > The KCFusion.org list and website is hosted by Humankind
> Systems,
> > > Inc.
> > > > > > > List Archives........
> > > http://www.mail-archive.com/cf-list@kcfusion.org
> > > > > > > Questions, Comments or Glowing Praise..
> > > mailto:[EMAIL PROTECTED]
> > > > > > > To Subscribe....................
> > > mailto:[EMAIL PROTECTED]
> > > > > > > To Unsubscribe................
> > > mailto:[EMAIL PROTECTED]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > ______________________________________________________________________
> > > > > > The KCFusion.org list and website is hosted by Humankind
Systems,
> > Inc.
> > > > > > List Archives........
> > http://www.mail-archive.com/cf-list@kcfusion.org
> > > > > > Questions, Comments or Glowing Praise..
> > mailto:[EMAIL PROTECTED]
> > > > > > To Subscribe....................
> > mailto:[EMAIL PROTECTED]
> > > > > > To Unsubscribe................
> > mailto:[EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> ______________________________________________________________________
> > > > > The KCFusion.org list and website is hosted by Humankind Systems,
> Inc.
> > > > > List Archives........
> http://www.mail-archive.com/cf-list@kcfusion.org
> > > > > Questions, Comments or Glowing Praise..
> mailto:[EMAIL PROTECTED]
> > > > > To Subscribe....................
> mailto:[EMAIL PROTECTED]
> > > > > To Unsubscribe................
> mailto:[EMAIL PROTECTED]
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
>
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]