![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
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! |
|
|
|
#2 |
|
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! |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |