Advertisement

Permenantly changing authorship?

Started by May 10, 2017 08:49 PM
15 comments, last by frob 7 years, 7 months ago

I hadn't realized before that you were talking about a special file that's used for that purpose.

It's not a special file. It's a regular source code file. You can can declare those attribute objects anywhere in a C# program; it is simply convention to put them in a file named AssemblyInfo.cs.

Are there any compatibility issues or other disadvantages to that?

Quite a lot. There's a reason nobody uses the filesystem much any more. Details and information about FAT32 are readily available online, I'm not going to guess at what may or may not be relevant to you given the rather paranoid scenario you're in.

It begins with an investigative budget of millions of dollars, perhaps tens of millions of dollars.

Alright, but out of curiosity, how would it even be possible? It seems like if you leave no evidence that can be traced to you, then it couldn't be, right?

It's not a special file. It's a regular source code file. You can can declare those attribute objects anywhere in a C# program; it is simply convention to put them in a file named AssemblyInfo.cs.

So you're saying that when you compile, the compiler first searches through all your code, looking for certain attribute definitions, wherever they may be, in order to make certain settings certain ways for compilation? That's a little odd.

And what if you declare that same kind of attribute in two different places, but different ways? Then how would it know which one to use?

Advertisement

Alright, but out of curiosity, how would it even be possible? It seems like if you leave no evidence that can be traced to you, then it couldn't be, right?

Are you sure the USB drive hasn't been compromised by some malicious spyware? Were your machines ever nearby speakers? Did you touch the thumb drive? There are probably fingerprints or DNA on it. Were you seen by anybody else delivering the drive to its destination? You seem to be under the impression that distribution via physical means rules out tracking the distribution back to you, but this just rules out some means of doing so. You can still be tracked down the old-school way if somebody cared to (which nobody does).

So you're saying that when you compile, the compiler first searches through all your code, looking for certain attribute definitions, wherever they may be, in order to make certain settings certain ways for compilation? That's a little odd.

It's not odd, that's how compilers work. They scan through the source code you provide them, interpreting the text in various ways that causes them to build up various data structures that represent the program, and then they write an executable to disk based on the information in those data structures. They don't necessarily do this in a "first pass," although they might (modern C# compilers make several passes over the source code).

In the case of these assembly attributes though, they don't really impact compilation much. The compiler sees them, reads them, and stores them for later. Once it is done everything else it writes them out to disk in the executable file with everything else.

And what if you declare that same kind of attribute in two different places, but different ways? Then how would it know which one to use?

For certain attributes, that's an error. For others, it's a warning, or the compiler will simply choose the first one it saw or the last one it saw. Generally this is covered in the documentation. It's not any different than if you wrote code that declared a variable with the same name twice in the same scope. The compiler is more than capable of detecting this and producing an error message and making you fix it.

By the way, I tried to format a drive as FAT-32, but the only options I was given are NTFS and exFAT. What's exFAT, is it the same thing as FAT-32 or does it have the same lack of user information?

Why are you coming here for a question that is easy to find on Google? In fact, why are you posting here about security and filesystem questions anyway?

https://en.wikipedia.org/wiki/ExFAT

https://www.howtogeek.com/235596/whats-the-difference-between-fat32-exfat-and-ntfs/

Well those pages don't specifically say whether it keeps user/owner/author information or not. I wonder why it won't let me use FAT-32.

Advertisement

I wonder why it won't let me use FAT-32.

Several reasons. The biggest is that on large drives the cluster size of Fat32 is huge. Generally it results in enormous amounts of wasted space, except in cases where all files are also very large.

If you don't mind your files taking up 32KB increments (1 byte to 31KB take 32 KB, 32KB-63KB take 64 KB, etc.) then go for it. For general purpose it is extremely wasteful, which is why it is disabled by default. There are plenty of ways around it.

As for the rest, I think you've got far more paranoia than is healthy. Have you considered talking about it with others?

This topic is closed to new replies.

Advertisement