Computer Hope

Software => Computer programming => Topic started by: night-rider on May 13, 2010, 03:13:15 AM

Title: hide permanently???
Post by: night-rider on May 13, 2010, 03:13:15 AM
nice time to all!!!

what's the code if i want to hide my file without editing the properties of it?

thankz!
Title: Re: hide permanently???
Post by: Helpmeh on May 13, 2010, 07:06:14 AM
In which language?

In batch, look at ATTRIB /?
Title: Re: hide permanently???
Post by: night-rider on May 14, 2010, 07:50:49 PM
can you please elaborate it sir?  ???
attrib / ...is that the only code for that?

what if I have a .xls file and I want to hide it permanently?
Title: Re: hide permanently???
Post by: Salmon Trout on May 15, 2010, 03:00:23 AM
Open a command window, type this at the prompt

attrib /?

now read the help.
Title: Re: hide permanently???
Post by: night-rider on May 15, 2010, 03:27:27 AM
it hides the file but can also be unhide using the properties of the file.
PERMANENTLY hide???

ATTRIB +H C:\1\TEST.DOC

is there something wrong or that's it?
Title: Re: hide permanently???
Post by: Salmon Trout on May 15, 2010, 03:30:02 AM
why do you want to do this?
Title: Re: hide permanently???
Post by: night-rider on May 15, 2010, 03:36:57 AM
to add security to my programs. because when i discover that .fxp file can be decompiled I began to panic. I'm willing to share my programs to other towns in our province if there is express permission to me.
Title: Re: hide permanently???
Post by: Salmon Trout on May 15, 2010, 03:50:37 AM
I would never install software such as yours. On my computer, I like to see ALL the files. Just think. Permanently hiding a file would be great for writers of spyware and viruses. What is so great about your program anyway?
Title: Re: hide permanently???
Post by: BC_Programmer on May 15, 2010, 09:24:42 AM
because when i discover that .fxp file can be decompiled I began to panic.


Why would you panic exactly? And what would hiding the file "permanently" do? hiding a file isn't protecting the file (http://blogs.msdn.com/oldnewthing/archive/2007/03/05/1807830.aspx), besides, if somebody wants to decompile your program and has a decompiler (and for some reason thinks it's worth doing rather then trying to make it themselves) they probably know how to unhide files, even if there was a "super secret permanently hidden" attribute; which is true, since you can also set the system attribute. This is really just an arms race (http://blogs.msdn.com/oldnewthing/archive/2005/04/19/409620.aspx); MS adds a feature to explorer to show hidden files, enabling that option still doesn't show files that are hidden and system, but setting another option makes those visible as well. you're essentially proposing an attribute that can only be assigned to files, can never ever be revoked, and can never be seen. That's just plain silly!



Title: Re: hide permanently???
Post by: night-rider on May 16, 2010, 08:08:50 PM
I hide 1 of my program and...
when I try to modify the program of a hidden file... it access denied! so I thought that this may add security to it.
 a days before I encountered some viruses that the hidden attribute cannot be unhide... the checkbox is like something disabled.
 so I thought that maybe I can apply to my .fxp file.
Title: Re: hide permanently???
Post by: night-rider on May 16, 2010, 08:17:27 PM
I would never install software such as yours.

the system that I'm trying to protect is the one that we use here in our municipality. it's a computerized official receipt. I'm just trying to place some confusing tricks to protect my program... this system is really a big help to us. transantions are faster and accurate computation of output.

maybe your thinking that I'm doing something wrong!
Title: Re: hide permanently???
Post by: Quantos on May 16, 2010, 08:24:38 PM
maybe your thinking that I'm doing something wrong!

Your posts are a little bit vague, in our experience people who are vague are hiding something.
Title: Re: hide permanently???
Post by: night-rider on May 16, 2010, 08:26:18 PM
I also encountered a virus that hide/delete my folder option that's why maybe I can apply that too in my computer. so I think that if a file is hidden and the folder option is not accessible. then my program maybe safe for a while.
Title: Re: hide permanently???
Post by: night-rider on May 16, 2010, 08:30:48 PM
ooops! :o
Title: Re: hide permanently???
Post by: Salmon Trout on May 17, 2010, 12:01:55 AM
You need to understand, and use, Windows security settings.
Title: Re: hide permanently???
Post by: night-rider on May 17, 2010, 01:28:31 AM
OK! thank you to all of you for your time!!!
Title: Re: hide permanently???
Post by: Sid on May 18, 2010, 09:44:55 AM
I'm just trying to place some confusing tricks to protect my program

Why not learn how to complie it to a format that can't be decompiled then, and stop messing around with silly solutions that can, and will, be reversed easily?

Title: Re: hide permanently???
Post by: night-rider on May 19, 2010, 03:48:42 AM
I'm not that too good sir! actually I only started programming foxpro last year and a months ago for batch. I really had fun with foxpro and batch that's why I want to concentrate on it.
Not only that! Almost all of  the municipalities here in our province are using it. so I decided to improve my knowledge on it.
Title: Re: hide permanently???
Post by: Sid on May 19, 2010, 04:02:44 AM
I'm not that too good sir! actually I only started programming foxpro last year and a months ago for batch. I really had fun with foxpro and batch that's why I want to concentrate on it.
Not only that! Almost all of  the municipalities here in our province are using it. so I decided to improve my knowledge on it.

EDITED.

I don't know anything about FoxPro, but heres something about compiling Visual FoxPro:

http://msdn.microsoft.com/en-us/library/6tadzctt(VS.80).aspx

Also, what kind of application is it (ie web based)?
Title: Re: hide permanently???
Post by: night-rider on May 21, 2010, 11:19:42 PM
thanks for the suggestion! but I'm using foxpro dos^^