en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en nl en en en en en de en en en en en nl en en en en en en en en en en fr en da en en en en en en en nl en en en en en en en en en en en en en en en en en en en en en en nl en en en en en en en en en it en en en en nl en en en en it en en sk en en en en nl en en en en en en cs en en en en en en nl vi en en cs en en en it en en en en nl en en en it en en sk en en en en nl fr en en en en en en en en cs en en en en en en en nl en en en en en en en en en en en en en en en nl en en en en en en en en fr en da en en de en en en en nl en en en de en en en en en en en en nl en en en en en en en fr en da en en en en en en en nl en en en en en en en en en en en en en en nl en en en en en en fr en da en en en en de en en en fr en en en en en en en en en pt en en en en en en
By logging into your account, you agree to our Privacy Policy, personal data processing and storage practices as described therein.
Forgot password or user name?
Search in titles only Search in PowerBASIC for Windows only
You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
File Owner or File Creator
All Time Today Last Week Last Month
All Discussions only Photos only Videos only Links only Polls only Events only
AFAIK not unelss you keep track of it when it happens.
I think with UAC security enabled and tuned up you can get the creator but if more than one user has permission to update that file once created, I think you are SOL.
But let's look at this another way... what are you trying to accomplish?
Learning who last modified "incorrectly" or "without permission" will do for you is tell you who needs more training or where your security hole(s) is (are), so if that's what you want to know, that's what you'll get.
But if it's something else...?
Port Washington WI USA
Join Date: Aug 2006
16 Oct 2008, 06:12 PM
Good news / Bad news
Bad news: I am not sure after the fact that the file has changed.
Good news: Without looking the source code forums, the idea comes to mind that most (if not all) of the answer has something to do with MCM
To me, it would be just a matter of concept
When the file changes, grab the Current user account
If changed from network then grab the computer that is changing it
Pretty sure you can grab the current user on that computer as well
Now who is actually at the computer when the file changes? THAT is a matter for security (and its practices)
Engineer's Motto: If it aint broke take it apart and fix it
"If at 1st you don't succeed... call it version 1.0"
"Half of Programming is coding"....."The other 90% is DEBUGGING"
"Document my code????" .... "WHYYY??? do you think they call it CODE? "
Join Date: Mar 2002
16 Oct 2008, 07:56 PM
The information does seem to be available in Windows Explorer. Author and owner are optional columns in the List version of the directory listing.
We were wanting to track which programmer last loaded and modified a program. Might be as easy as a proper check system where the current user is recorded in a log file with the user and program name.
The optional columns in Windows Explorer really don't help much since the author is often a group name.
I'll just work at it from a different direction.
Join Date: Mar 2004
16 Oct 2008, 09:07 PM
Just tried it on my PC. Author was only shown for MS Word .doc, Excel .xls and PDFs; so the info must be in the files and not file attribs.
Join Date: May 2006
16 Oct 2008, 09:55 PM
The information does seem to be available in Windows Explorer. Author and owner...
I believe Dale is correct, the info you refer to is only available on some file types.
Most programs that create documents, including Microsoft SharePoint, Microsoft Word and other Microsoft Office products, save metadata with the document files. These metadata can contain the name of the person who created the file (obtained from the operating system), the name of the person who last edited the file, how many times the file has been printed, and even how many revisions have been made on the file. Other saved material, such as deleted text (saved in case of an undelete command), document comments and the like, is also commonly referred to as "metadata", and the inadvertent inclusion of this material in distributed files has sometimes led to undesirable disclosures.
Join Date: Apr 2007
16 Oct 2008, 09:55 PM
Possibly lifted from resource files?
In some future era, dark matter and dark energy will only be found in Astronomy's Dark Ages.
Join Date: Mar 2004
16 Oct 2008, 10:15 PM
Nope, don't think so. Progs I compiled with the info in the resource didn't show it in Windows' Explorer.
Join Date: May 2006
17 Oct 2008, 01:30 AM
While on the subject,
The dsofile.dll source at the following location is a com wrapper for adding and supporting compound ole documents such as office and also supports on NTFS file systems an Alternative File Stream file that will support these properties on non OLE Documents such as a txt.
Every OLE compound document can store additional information about the document in persistent property sets. These are collectively called the "Document Summary Properties." These property sets are managed by "COM/OLE" so that third-party clients can read this information without the aid of the main application that is responsible for the file.
And this should help also for those who dabble with Visual C++ and perhaps make it work in PB
you can retrieve built-in document properties such as Author, Last Modified Time, and Page Count properties of a Microsoft Office 97 document as well as other custom document properties.
Join Date: Mar 2002
18 Oct 2008, 12:57 PM
Primarily I'm looking to track .BAS and .INC history by programmer.
We archive a version of a BAS or INC on a daily basis if it isn't the same as the last one archived. Kind of a homegrown SourceSafe. It's very useful when you can follow the changes to a file by comparing the development version with several archived versions.
We always are supposed to write a little audit line at the top of the BAS or INC in the comment section but don't always do that hence the automatic audit idea. Quality control is having fits when they don't have all the notes about areas to test and something gets out the door with a feature not tested independently of the programmer who did the work.
Since I'm the player-coach kind of programming manager, I get called on to trace the work using Beyond Compare and the archived version to tell quality control what features were changed, cleaned up, or rewritten and there is no audit line or source control description of what is done.
I'm kinda leaning toward improving our checkout batch file to write to an audit log and make it searchable by date and/or program/programmer.
Join Date: Aug 1998
20 Oct 2008, 08:58 AM
Kind of a homegrown SourceSafe. It's very useful when you can follow the changes to a file by comparing the development version with several archived versions
If this is in fact a serious problem at your site, maybe you should alow "SourceSafe" or one of its competitors to handle the development and just purchase a license. By the time you "home grow" this I think there's a good chance you will have spent a lot more than you would just purchasing a license for a product designed for this purpose.
FWIW, WinZIP can be a poor-man's source library. It has some "check out" features, plus you can if necessary password-protect files therein.
Port Washington WI USA
Join Date: Aug 2001
20 Oct 2008, 09:24 AM
You might want to consider Subversion. For your client, check out http://tortoisesvn.tigris.org/
Join Date: Aug 1998
20 Oct 2008, 10:02 AM
When I was contracting I did work at a couple of places which had rigorous "check-out/Check-in" procedures for program source code.
However, the key to making this work is that nobody except the administrator has permission to "check IN"... giving him/her a chance to review code BEFORE it goes into the master library for others to use. i.e, you can check for proper commenting and/or structure or whatever things are important to you.
Port Washington WI USA
Join Date: Feb 2001
22 Oct 2008, 10:25 AM
Originally posted by Michael Mattias View Post
... the key to making this work is that nobody except the administrator has permission to "check IN"... giving him/her a chance to review code BEFORE it goes into the master library for others to use. i.e, you can check for proper commenting and/or structure or whatever things are important to you.
I wonder if PB would be a perfect language in which to write an administrator program. It would be next to trivial to check that: the new version had a header in the proper format; that the header was different from the version it intended to replace; that the header gave today's date. More challenging, but still not rocket science, would be to check that new lines of code (versus the previous version) were commented. Hmm. It could even keep track of who wrote which particular lines of code, though for readability that info might not be stored with the code itself.
Join Date: Aug 1998
22 Oct 2008, 11:19 AM
I'm not so sure you should even attempt to automate "compliance with shop standards for program maintenance."
There's really nothing comparable to a "peer review" .. because of the good chance that peer is going to be the next guy who actually has to work on the modified program.
Port Washington WI USA
Copyright © 1998-2022 PowerBASIC Tools, LLC - All Rights Reserved.
Powered by vBulletin® Version 5.7.0
Copyright © 2022 vBulletin Solutions, Inc. All rights reserved.
All times are GMT-5. This page was generated at 10:23 PM.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.