How to track network file share accesses on workstations

I shared a folder created in my C drive with a colleague over the network and he was able to access it. Is there any log that will track this kind of activity? I am aware of Windows Security Event ID 5140: A network share object was accessed. Should this be on the workstation or will there be an AD authentication to the Domain controller to verify the person accessing it is actually the person whi is given permissions. Any thoughts will be appreciated.

Using deferred promise when retrieving share point list data

I am creating a SharePoint online application and I need to retrieve information from various lists. To do this I’m sure i need to use a deferred promise so as all the functions can execute. Below is one of my functions I am trying to load.

    var deferred = $  .Deferred();  function retrieveLeaveDaysRemaining() {         //Method          var hostWebURL = "";          var clientContext = new SP.ClientContext.get_current();         var hostWebContext = new SP.AppContextSite(clientContext, hostWebURL);         var oList = hostWebContext.get_web().get_lists().getByTitle("LeaveEntitlement"); //List name on sharepoint          var camlQueryLeaveDays = new SP.CamlQuery();         //Query filters people feild by current user logged in         camlQueryLeaveDays.set_viewXml(             "<View><Query><Where><Eq><FieldRef Name='UserName' LookupId='True'/><Value Type='Lookup'>" + _spPageContextInfo.userId + "</Value></Eq></Where></Query></View>"         );         this.collListItem = oList.getItems(camlQueryLeaveDays);          clientContext.load(collListItem);           clientContext.executeQueryAsync(         Function.createDelegate(this, this.onQuerySucceeded),         Function.createDelegate(this, this.onQueryFailed)     );          return deferred.promise();     };      function onQuerySucceeded(sender, args) {         var listItemInfoLeaveDays = '';         var listItemEnumeratorLeaveDays = collListItem.getEnumerator();          while (listItemEnumeratorLeaveDays.moveNext()) {             var oListItem = listItemEnumeratorLeaveDays.get_current();             //Item to display              var displayDaysRemaining = oListItem.get_item('DaysRemaining'); //Get 'Days Remaining' feild from list         }         //Display item in html form         document.getElementById("leaveEntitlement").value = displayDaysRemaining;          this.deferred.resolve(sender, args);     }      function onQueryFailed(sender, args) {         alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());          this.deferred.rejected(sender, args);     } //End LeaveDaysRemaining  

When I do this for the several methods only one will execute correctly.Any help on how i can fix this? I have searched online and cannot resolve the issue. Thanks for any help in advance.

How should I share the key of the AES algorithm in each client?

My doubt would be the following:

How should each client know the encryption key? Using the AES algorithm. (or the best way):

  • Save it in a file encrypted by password?
  • Save it in a DB?
  • Send it over the network via SSL?


  • How often is it advisable to change the password?
  • Is it advisable that while the program is running it is saved in a private variable?


How to transfer data to and from Azure File Share more efficiently

I’m wanting to use Azure File Share to share data files with several Virtual Machines, which then take said data and run tools/programs and jobs using the data. As of now when trying this it seems that data access and transfers (which these jobs necessitate) is extremely slow. When running these tools on local data there isn’t this issue.

Am I using Azure File share wrong or missing something?

Recently found a way to make 500/day doing some easy advertising! figured i’d share :)

So, everything you need to know is in the link. its just a google drive link so theres no need to worry. Been doing this and have gotten some good results! I have a bunch of other ebooks like this but some require some investments, anyways pm me if you have questions about the link or any of the other ebooks I have :)

How to configure domain trust and DNS to share content with an external domain?

I have two domains (same LAN subnet) lab1.tld & lab2.tld I configured a one-way external trust (with selective authentication) for those domains plus a secondary DNS zone pointing to the “opposite” domain in each of them.

1 ) dc1.lab1.tld

  • IP:
  • Incoming Trust: lab2.tld
  • Trust Type: External trust
  • Primary DNS zone: lab1.tld
  • Secondary zone: lab2.tld
  • DNS zone transfert allowed to dc1.lab2.local (

2 ) dc1.lab2.tld

  • IP:
  • Outgoing Trust: lab1.tld
  • Trust Type: External trust
  • Primary DNS zone: lab2.tld
  • Secondary zone: lab1.tld
  • DNS zone transfert allowed to dc1.lab1.local (

3 ) server.lab2.tld

  • IP:
  • Share: D:\myshare

Currently I can affect permissions on shared directory in lab2.tld domain to users that belong to lab1.tld domain.

I can resolve lab1.tld FQDNs from lab2.tld & lab2.tld FQDNs from lab1.tld

Unfortunetly I can’t access my shared folder sitting in lab2.tld domain from lab1.tld domain. Note that no matter if I use an \server.lab2.local\myshare or .0.0.3\myshare from lab2.tld domain, non of them work properly.

How to configure domain trust and DNS to share content with an external domain, what I am missing with the current configuration?