Is not it safe to save files under a Web server root if it is processed by PHP and blocked by the Web server configuration file?

For example, suppose you have a Web site that executes file uploads of a particular type and places them in a subdirectory (called "videos") in the web root.

I've heard from various sources that trust in uploaded files is never safe as a payload can be uploaded and executed. even if You check the file extension. Ideally, you should check the entire file (which can slow the system down if the uploaded file is a large video file).

My question is – is it still uncertain with the following configuration?
You process the upload with POST requests to a PHP script that checks the file extension, renames the file, and then places the file in the subdirectory "videos".
Suppose the subfolder "videos" is protected as follows (nginx):

 location ~ /(videos/|admin-stuff|etc) { deny all; }

If the files are put in the directory, they have -rw-r--r-- Permissions. If I understand correctly, the files can under no circumstances be called / executed.
Is it still a weak spot?

Thank you very much.

My Facebook ID is blocked if I give him permission to manage the Facebook page

I have a Facebook page with two administrators. My first administrator ID is locked, where I mostly use to upload videos. My second administrator is still working. The main problem is that I create a new Facebook ID. When I make the new ID the admin, my Facebook ID has banned me. Try the same new ID a couple of times, but the second id still works.
What I do, how I use the site to work on it.

Gmail – takes precedence over blocked senders and filters

If you've blocked senders in Gmail, emails with that FROM address will be moved to the SPAM folder. If you have filters that fire on these emails, will they still fire? After the email has already been moved to SPAM? Any recommended best practices here? I see advice online that suggests using a filter that collects and redirects all emails, rather than using the forwarding feature of Gmail (which we had problems with). When I do this, however, I have to make sure my blocked addresses are not forwarded (w

Permissions – blocked by the dedicated server due to chmod

So I accidentally ran chmod -x / instead of what I wanted, and that's why a lot of things got broken on my server. Because of this, I can not log in as usual and have to use other methods.

I tried to fix the permissions of the server for accidental chmod, but only got tons of permissions issues that look a bit like "Change the permission of & # 39; / proc / sys / net / etc …" and then it still does not work. I get that too for many other directories.

If you let me know how you can fix this or other information you need, that would be great.

Is the SharePoint User Profile service different than blocked users?

I added an external app to display an organization chart on our Sharepoint Modern page. Now the app reads the user information and their managers from Sharepoint User Profile Service. When I load the org chart for the first time, I notice that some exits are displayed. This is something we do not want to have. Therefore, I apply the following filtering in the external Organization Chart app:

SPS HideFromAddressLists == "No" || SPS HideFromAddressLists ==
"Not correct"

and many graduates will not show anymore, which is great. Nevertheless, we have some users who are locked as follows:

Enter image description here

but it was still displayed in the organization chart. So my question is what property in the SharePoint User Profile service indicates whether the user is locked or not. So I can add extra filters to the Organizational Chart app to exclude blocked users.

java – Blocked business code

I've got to finish this exercise, I've done what I could, I'm just learning about object-oriented programming, I just need some methods to finish that I do not want to show a product by naming it or the Last, if you could please help, I would appreciate it.

public shop {

private Producto() lista;
private int contador = 0;

public Tienda(int tamaño) {
    lista = new Producto(tamaño);
}

public void agregarProducto(Producto p) {
    lista(contador) = p;
    contador++;
}

public void agregarProducto(String nombre, String categoria, float precio) {
    Producto nuevo = new Producto(nombre, categoria, precio);

}

public String verProducto(int pos) {
    Producto aux = lista(pos);
    return aux.getNombre() + " -- " + aux.getPrecio();
}

public String verProducto(String nombre) {
    //Mostar el producto por el nombre
}

public String verLista() {
    String texto = "";
    for (int i = 0; i < lista.length; i++) {

        Producto aux = lista(i);
        if (aux != null) {
            texto += aux.getInfo() + "n";

        } else {
            texto += "-- vacio --n";
        }
    }
    return texto;
}


public boolean borarProducto(int pos) {
    return false;
}

public boolean borrarProducto(String nombre) {
    return false;

}

public Producto getProducto(int pos) {
    return null;

}

public Producto buscarProducto(String nombre) {
    return null;
}

In this class, all the methods go to show it in a major class.

Why has Facebook blocked my website?

I have a website helpmen.org where I sell domain names. I used to link to it from my Facebook page, but now it's blacklisted and all posts that contain it have been automatically removed. As my domains redirect to the site, those are the most of my posts. Facebook is the same disgusting anti-user company that has always existed, so I can not get an answer from them.

One way I came up with (I'm not sure if that's the case) is that Facebook does not like the amount of links to the site. However, I do not spam and do not post repeatedly.
The other way I can see is that a FB administrator views the site as a kind of landing page (which is partly the case) and rejects it. The blacklist was shortly after I changed the name of the page, which needed a review. Could that have caused?

I do not think there's a good reason for the blacklist, but does anyone from personal experience with Facebook pages or general Facebook knowledge know what the reason for this blacklist could be because there's no altercation (or communication) with them Facebook gives?

google play store – Could not install an app – how do I find out what blocked the installation?

I was previously unable to update / install apps with Play Store, F-Droid, or Play Store in my workspace, even though I had 500MB free on my phone (Pixel XL with Android 9.0).

I have 2 theories about why this happened, and I want to find out more low-level information to try to find out why it finally happened. I think that has happened before.

Theory 1 is that the flash memory on the device is set to wear and some of it has become unusable because it has been written too many times and is "dead" but for some reason Android or possibly the underlying Linux kernel, continues to report the unusable blocks as "free space". So, even though it looked like I had 500 MB free, I really had less.

Theory 2 says that in my work partition, the Play Store unnoticed prevents installation on my personal partition until it finds "its way" and installs the updates it wants to install. (In this case, it is very unlikely that this is intentional.) In the conditions that I signed when creating a working partition, I did not warn against it, which in my memory does not explain why even 500 MB are free to install a relatively small update.)

As I freed up more disk space (by uninstalling 2 apps in my workspace), Play Store was able to update all 5 apps in my workspace to be updated when I manually clicked "Update." Then F-Droid was able to update the apps again. So it looks like I'm good for now … Oh, wait, I spoke too early, it happens again.

The two work apps that were uninstalled were then automatically transferred to my device and reinstalled, which leaves me in doubt about the theory that it is lack of space / unusable space (theory 1).

I uninstalled it once againAnd now I can install apps again … for now.

Can I get additional information about using adb or similar?

I already tried it df in termux and it shows me nothing useful – only the free space of a partition changes. I've been reading the text wall of previous solutions, but they either seem irrelevant or make no sense to me.