AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I save passwords for FDO FeatureSources in registry?

1 REPLY 1
Reply
Message 1 of 2
woehling
384 Views, 1 Reply

How can I save passwords for FDO FeatureSources in registry?

Hi,

 

I found out that AutoCAD Map saves passwords for FDO FeatureSources somehow encrypted to the following registry key (if the user wants that): HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R*\ACAD-*\Applications\AcMapFeatureSourceManager\PCache

 

Is there any API that I can use to save these passwords programmatically?

Alternatively I could write the data directly to the registry, but I don't know how to create the binary (encrypted?) data.

 

Any hints?

 

Markus

1 REPLY 1
Message 2 of 2
Daniel.Du
in reply to: woehling

There is no API to save encrypted password to registry to make it regconizable for Map 3D. 

 

An alternative is to create the feature source(data connection) on the fly with API, which needs your username and password, of cause you can save your username and password anywhere safely with generic programming skills.  To create a feature source on the fly with API, please refer to the sample "BuildMap" in Map 3D SDK, it locates in C:\Map ObjectARX SDK 2014\Map Samples\Platform\BuildMap



Daniel Du
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost