|
-
Aug 1st, 2005, 09:41 AM
#1
Thread Starter
Frenzied Member
Where to put files on a webserver?
I know how to put files and stuff on the webserver, but I don't know where to put files that need to be accessed(as in showed) but not downloadable, or how to do it. If you can help me, please post. If you don't understand what I've asked, please question me!
-
Aug 1st, 2005, 10:41 AM
#2
Fanatic Member
Re: Where to put files on a webserver?
Hmm any files that can be shown, can be downloaded if the person viewing them wants to.... (the viewer is downloading them temporarily to view them)
Unless you mean you want a directory / file list to see a list of files but not be able to download anything from the list? That might could be accomplished but would be in your FTP settings, not in where you put the files on the server.
Also some servers are automatically set up with a private folder with the permissions set to disallow outside access...
-
Aug 1st, 2005, 10:43 AM
#3
Re: Where to put files on a webserver?
If you are just wanting to do FTP downloading from your site then you need to have your files in the "C:\Inetpub\ftproot" directory for starters. Do you have a website or IIS installed and setup?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 1st, 2005, 10:48 AM
#4
Thread Starter
Frenzied Member
Re: Where to put files on a webserver?
Let me explain a little better. I have the website set up(as of right now).. It's pretty bare because I just got the hosting package the other day. This is what I want:
I want to display a java applet, but I DON'T want the user to be able to download the class file.
See, all the they would have to do is go up to where they enter a url and change this:
applet.html
to this:
applet.class
and they can download the program that way. I CAN'T have that, but I don't know of anyway to get around it.
Thanks for the replies...All help is greatly appreciated.
-
Aug 1st, 2005, 10:53 AM
#5
Re: Where to put files on a webserver?
Oh, I hate it when that happens. You write some cool code and if you place it on your sites directory, anywhere, they can DL it like that.
You might want to post a link to this thread in the Java Forum. They may have the solution there. Probably NoteMe since he knows allot of Java.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 1st, 2005, 10:57 AM
#6
Thread Starter
Frenzied Member
Re: Where to put files on a webserver?
Thanks! I'll do exactly that.
-
Aug 2nd, 2005, 12:27 AM
#7
Dazed Member
Re: Where to put files on a webserver?
The binary file still has to be decompiled after it's downloaded. Why not just run the code through a Obfuscator?
-
Aug 2nd, 2005, 02:43 AM
#8
Re: Where to put files on a webserver?
 Originally Posted by Dilenger4
The binary file still has to be decompiled after it's downloaded. Why not just run the code through a Obfuscator?
Binary? When did you start to compile your appletts to binary.. ...
Well, I would guess Dilengers method would probably be one of the best. yGuard is a free obfuscator. Never tried it before. Since I don't care if my code get stolen anyway.. . But you need Ant though. But I guess you can download that. Or find an other obfuscator.
http://www.yworks.com/en/products_yguard_about.htm
To prevent your code to be downloaded (if there is a faw) I guess you have to set some settings in your Apache config, or myabe a .htaccess trick is possible, not sure. But isn't the applett downloaded to your temp folder anyway? In the browser I mean?
- ØØ -
-
Aug 2nd, 2005, 09:01 AM
#9
Thread Starter
Frenzied Member
Re: Where to put files on a webserver?
It is downloaded to the temp folder...I was thinking that decompilation is just something I'll have to deal with, but I don't think their will be that many people that's desperate. Here's what I have in mind:
the applet class has a method getDocumentBase() that returns where the applet was run from. In my code, I could test to make sure it's run from MY website, and if not, the rest of the code won't run. Now that won't prevent decompilation, but it's definately a step.
-
Aug 2nd, 2005, 02:43 PM
#10
Dazed Member
Re: Where to put files on a webserver?
Posted by NoteMe
Binary? When did you start to compile your appletts to binary.....
Sorry i ment Byte Code.
System_Error, that sounds like a good idea. Check out Smokescreen or RetroGuard which are pretty good a java obfuscators. I also had a friend use Jshrink a while back and he said it was pretty good.
-
Aug 3rd, 2005, 02:12 PM
#11
Thread Starter
Frenzied Member
Re: Where to put files on a webserver?
Thanks guys. I don't know if I want to run it through an obfuscratcher. It just seems to hard. Can they still get the source somehow after running it through the ob. thing?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|