TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

ClickOnce security

C#(C Sharp)


Reply
 
Thread Tools Display Modes
Old 14-12-2007, 09:36 PM   #1
Nikolay Podkolzin
Guest
 
Posts: n/a
ClickOnce security

Good noon, community! Would you be so kind and help me solve my problem. I
need Deploy application through ClickOnce technology. I've configuration file
where I assign sensitive data about connection to the database. A VS
deploying solution all files have signing by certificate. When I'm installing
application i need immediately change this data (e.g. Server name or
password) How can i do this correctly?

Thanks in advance!
  Reply With Quote
Old 14-12-2007, 09:37 PM   #2
Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
Re: ClickOnce security

Nikolay,

I don't think you can change this through ClickOnce, I think ClickOnce
will just get your files to the machine, and make sure they are
up-to-date/in synch with what is on the server. If you want to make changes
to the file, your program will have to do it (and that might be an issue if
you put your files in the program files directory, since only administrators
(should) have access to that).

If anything, you might want to look at storing this information in a
user-specific directory and then accessing that from your program.

--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

"Nikolay Podkolzin" <NikolayPodkolzin@discussions.microsoft.com> wrote in
message news:97A36A03-5FF4-497C-A2F1-09CB31CDF2D6@microsoft.com...
> Good noon, community! Would you be so kind and help me solve my problem. I
> need Deploy application through ClickOnce technology. I've configuration
> file
> where I assign sensitive data about connection to the database. A VS
> deploying solution all files have signing by certificate. When I'm
> installing
> application i need immediately change this data (e.g. Server name or
> password) How can i do this correctly?
>
> Thanks in advance!



  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:22 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional