Jump to content

sab

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

About sab

Profile Information

  • OS
    XP Pro x64

sab's Achievements

0

Reputation

  1. Hi All Thanks for your reply. It will be great if we can get a solution without using VBScript and other tools. thanks sab
  2. Hi Basically we have a utility to start and stop some weblogic servers. This utility has to be run in windows as part of porting to all platforms. The password is the weblogic password we give to pass it to the utility to do processing further.The password should either be seen in asterisk form when typing , or invisible. The password might contain non alphanumeric character too. thanks sab
  3. Hi Our application runs in CMD file. We prompt for a password. We have a requirement where in , in a 64 bit windows machine (XP) or anyother flavours , we have to mask the password. We tried using powershell.Now we are able to show the password as asterisk in the CMD screen and able to store the password in a file after decryption. But not able to retrieve the password from the file. But for security point of view we should not store the password in a file. We had used the following commands: # Read the string as securestring [system.Security.SecureString]$secureStringValue = Read-Host -AsSecureString "Enter Password"; # Convert the securestring to string [string]$stringValue = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($secureStringValue)) **** Please let us know anyother way where we can store the password in memory and retrieve it also in String format..
×
×
  • Create New...