azure – Cloud IAM solutions – internal and external users

The Cloud IAM solutions are familiar only to Azure AD, which distinguishes between members and guests. Members would be internal users (ie synchronized from Active Directory), while guests would be users outside the organization with a different email address.

This comes into play in the administration portal (eg by filtering the accounts) and in the licensing model (costs for members, guests are free).

  1. Does the distinction between members and guests correspond to a certain security principle / industry practice or is it just a commercial distinction?
  2. Are there other services that implement the same or a similar approach?

Javascript – Set a Unix timestamp with Mongo's internal clock

I want to be able to set a timestamp in a field in Mongo as an integer in seconds rather than in milliseconds, as Mongo does in a node.js application. If I do this, the new date () is calculated from my node application or from the Mongo database?

db.testcollection.save({"mydate": Math.floor((new Date()).getTime()/1000)})

Corporate Development – How can I prevent the sharing of internal API keys in a company?

Together sum up:

Relief, benefits, friction and police:

A few more words

relief: First, make it easy for a team to get a new API key. For example, include a reminder in the business processes for launching new projects and offer a friendly service to request new keys without asking for justification.

Services: Use a custom API key for the team or product owner. For example, suggest feedback on app usage based on this key.

friction: Depending on the key function, you can create friction points, such as: For example, if the key is associated with a domain defined by the app (that is, key reuse would not necessarily provide access to all desired services).

police workFinally, you may need to provide some monitoring. For example, you can monitor the use of API functions with an API key, and after a period of time, make a request to use API parts that is not expected in terms of the baseline. If this is not realistic, just include a confirmation in the Company's Project Checklists that a valid key has been used.

*Annotation: You may need to clearly define your API key policy: Does a new major release require its own API key? What about a fork or when an app is split? what if another team is responsible, etc …

Applications – Recover WhatsApp data from internal memory when moving to a new phone

I installed WhatsApp on my old phone.
WhatsApp is backed up to both Google Drive and local storage.
Google Drive backup is for text chat and pictures only (default).
The local backup contains everything (audio, video, documents, etc.).

I want to transfer all my WhatsApp data to my new phone.
Usually it is done like this:

  1. Copy all WhatsApp folder files from the old phone to the new phone.
  2. Install WhatsApp on the new phone.
  3. Start WhatsApp on the new phone and click Restore when prompted to restore data.

The problem

Restoring WhatsApp restores information from Google Drive, not from local storage.

How to force WhatsApp to recover all data from local storage?

Internal DNS – Additional questions about the DNS server

Today, I've booted an additional domain controller for our domain and made it a DNS server during DC promotion via the wizard. Previously we had only a single DC, which was also the only DNS server.

After I added and promoted the new server to the domain, I moved to the old DC and opened DNS. I went to the zone properties and added the FQDN of the new server under the Nameserver tab. Next, on the Zone Transfers tab, I selected the option to allow zone transfers only to the servers listed under the Name Servers tab.

Next, I signed in to the new DC and opened DNS. I can see the zone that points to my domain, but when I go into the properties, the Zone Transfers tab is set to not allow one. Not sure if it should be like that or not? I wanted the extra DNS for redundancy in case the old one fails. I am not sure how to configure the "Zone Transfers" tab on the new server or whether I need to add a new zone. Our only zone is a primary AD integrated zone. I thought that AD-integrated DNS zones did not need zone transfers, but I wanted to confirm that.

When I open DHCP on the old server and check my scope options, "006 Name Server" still lists only the original DNS server. Do I have to manually add the new IP?

Lastly, the server's NIC DNS properties for DNS1 and DNS2. The primary DNS IP should point to each other and the secondary IP should be the loopback (127.0.0.1)?

Here is a screenshot of DNS from the newly created DC / DNS server

View post on imgur.com

magento2.3.1 – Magento 2: Internal error: Huge input search, when configurable product is clicked on Edit

You must override the class in Magento to resolve this issue.

/var/www/html/vendor/magento/framework/View/TemplateEngine/Xhtml/Template.php

Method public function append ($ content) must be changed to:

$target=$this->templateNode->ownerDocument;

$source = new DOMDocument();
$source->loadXml($content, LIBXML_PARSEHUGE);

$this->templateNode->appendChild(
    $target->importNode($source->documentElement, TRUE)
);

You can also change

public function __construct and add 'LIBXML_PARSEHUGE'
$document->loadXML($content, LIBXML_PARSEHUGE);

Reference: https://github.com/magento/magento2/issues/8084#issuecomment-335239220

I hope it helps!!!

ubuntu – Internal server error while uploading SQL to phpmyadmin

I am getting an internal server error while trying to upload an 18 MB SQL file to my server (I have an xampp localhost and this works fine with the same server configuration).

I read about all sorts of similar problems and did everything they said about their own questions.

I've modified my php.ini so that I like settings max_execution_time. upload_max_sizeetc., and I did not come to work.

I'm using PHP 7.2 on Ubuntu server, i'm starting to think is not php.ini problem.

What kind of information can I give you all to tell me how this can be resolved, or to try different things instead of setting things up? php.ini because that does not work for me.

Many thanks.

Enter image description here