Book a Demo

Author Topic: Disabling Security  (Read 3169 times)

martinws

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Disabling Security
« on: November 02, 2005, 10:06:56 am »
I've done a very silly thing.

I was trying to disable security on my EAP file. Finding no 'logical' way to do it. I thought if I remove all users the security will be disabled.

Unfortunately not!

Now I still get a login prompt with no user to enter!

I cannot disable security by reentering the security ID since loading the file does not allow me to do it without logging in first!

How can I get back my file? I know, I should have backed it up! But the idea sounded right at the time  ???


Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Disabling Security
« Reply #1 on: November 02, 2005, 11:19:18 am »
Hi,

there might be an easier way, but this might be worth a try:

1. Create a new EAP file
2. Enable the security
3. Open the EAP file using MS Access and copy the table that holds the users (t_user, I think) from the new EAP file to the old one

That should give you user "admin" with password "password".

I do not think that EA should allow deletion of the currently logged on user, that's something that might be worth logging as a bug/feature request.

Hope this helps!
Bruno

Quote
I've done a very silly thing.

I was trying to disable security on my EAP file. Finding no 'logical' way to do it. I thought if I remove all users the security will be disabled.

Unfortunately not!

Now I still get a login prompt with no user to enter!

I cannot disable security by reentering the security ID since loading the file does not allow me to do it without logging in first!

How can I get back my file? I know, I should have backed it up! But the idea sounded right at the time  ???



KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Disabling Security
« Reply #2 on: November 02, 2005, 01:45:41 pm »
Open the EAP file in MS Access, find the t_secpolicies table and either set the UserSecurity value to "Disabled" or just delete the record. That should fix things.

If you don't have access to Access, zip up the EAP file and email it to us and someone will do the necessary.

HTH

Neil
The Sparx Team
[email protected]

martinws

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Disabling Security
« Reply #3 on: November 03, 2005, 01:11:46 am »
Quote
Open the EAP file in MS Access, find the t_secpolicies table and either set the UserSecurity value to "Disabled" or just delete the record. That should fix things.


It certainly did. Am I relieved!   :)

It's good to know you can provide such excellent level of support.

Thanks.

Martin