Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Password Protected ClickOnce Deployment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sachin Palewar - 17 Jul 2007 11:17 GMT
I just created a clickonce deployment and uploaded it on a website. It
works great but I am worried because anybody can download it from the
URL if they know about it. At this point my application may not be
useful in its current form to everybody but going into the future I
would like to protect it so that only authorised users can install and
run the application. Any pointers in that direction will be
appreciated.

Another related query I have is that I would first like to deploy to a
test server and then to a production server. If I just change the
publish URL, will it deploy to different servers. Can I keep changing
URLs like this? Won't incremental versions post certain problems.

Thanks in advance...

Regards,
Sachin Palewar

Palewar Techno Solutions
(Mobile Solutions for Your Business)
www.palewar.com

Blog - http://palewar.blogspot.com/
LinkedIn -http://www.linkedin.com/in/palewar
RobinS - 24 Jul 2007 06:46 GMT
I don't think you can password-protect a ClickOnce deployment; you will
have to password-protect the web page where they get to it.

Just uncheck the box that says "increment the version number
automatically".

Also, you can publish it once (like to a location on disk) and use MageUI
to modify the manifest and then ftp it to multiple locations. You would do
this if you wanted to ensure that the exact same build was pushed to
multiple places. Frankly, it's easier just to publish it twice to different
URLs and not change the version number, assuming your code base can't be
modified by anyone else while you're doing it.

Robin S.
-----------------------
>I just created a clickonce deployment and uploaded it on a website. It
> works great but I am worried because anybody can download it from the
[quoted text clipped - 20 lines]
> Blog - http://palewar.blogspot.com/
> LinkedIn -http://www.linkedin.com/in/palewar
Sachin Palewar - 27 Jul 2007 12:54 GMT
Thanks for your response. Just one more question, I understand that we
can password protect the webpage for installation, but we need to also
provide a URL from where application will be automatically updated. If
we password protect that  directory on server, then I assume software
won't be able to update or check for update.

My concern is that if somebody comes to know of the direct URL for my
installation, he can directly install from that location. Do you have
any suggestion to prevent this?

Thanks again for your help.

Regards,

Sachin

> I don't think you can password-protect a ClickOnce deployment; you will
> have to password-protect the web page where they get to it.
[quoted text clipped - 35 lines]
> > Blog -http://palewar.blogspot.com/
> > LinkedIn -http://www.linkedin.com/in/palewar
RobinS - 30 Jul 2007 23:45 GMT
That's a good point. I recommend trying it; it might pop up and ask for the
user credentials before checking for updates. This would be my bet.

Robin S.
-----------------------------------
> Thanks for your response. Just one more question, I understand that we
> can password protect the webpage for installation, but we need to also
[quoted text clipped - 58 lines]
>> > Blog -http://palewar.blogspot.com/
>> > LinkedIn -http://www.linkedin.com/in/palewar

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.