Password Encrption

Z

Ziad Al-Banna

Hi every one,

I have an application that integrate with MS Project Server 2003, in one
part of the application I need to create a user in Project server, for that
I am using a direct SQL calls to insert the user directly into the database,
the problem is how to encrypt the password with something that project server
understand.

I will be glad if any one told me about the encryption/hashing technique
that project server user.

Thanks a lot
Ziad
 
R

Rod Gill

No description of that available. You will either need to have the account
the application is running under have its own account, or create a Project
Server account that doesn't use NT authentication and use that to login
with.

It is unsafe to directly insert records into any MSP_WEB tables. If you do,
corruption of the project may well occur. The only safe ways are using PDS
or directly editing resources in the Enterprise Resource Pool using
Automation via Project Professional.
 
Z

Ziad Al-Banna

Thanks Rod

What I am doing now is, when any new user created in my application, I create
another user in Project Server (not NT user), the project server user will
have the same user name, but since I don’t know how to encrypt the password
I insert a pre-encrypted password into project server database, the problem
in this scenario that I don’t have a consistency in the user information
(i.e. different passwords).

The system was running in this way since 2 years, but a new client requested
to change the password from a single location.

Any advice will be appreciated
Ziad
 
Z

Ziad Al-Banna

Found it,

Project server use the following DLL "pjsvrsecurity.dll" and the function
"HashData" to hash the password and save it into the database.

Ziad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top