Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone , I want to update .htpasswd file in linux using C# dot net program.
Is it possible to update .htpasswd ?
please help me I have knowledge of c# but not use to of linux .
Posted

1 solution

Here is a short text description of the format of a .htpasswd file: https://en.wikipedia.org/wiki/Htpasswd[^]
Here is a piece of C# code that claims to work like the unix crypt() function: A C# implementation of Unix crypt()[^]

With this you should be able to write a piece of C# code that can directly manipulate a password file (for example a .htpasswd or similar file...).
 
Share this answer
 
Comments
vishal.net 15-Feb-14 10:23am    
Thanks for suggestion but it did not provide information that how to update .htpasswd file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900