How to make external script inaccessible by browser and accessible by cron? Magento 2

I have made a few external php scripts to update quantity and tracking numbers,etc Right now, i’m putting them in magento root and set the permission to 640. However, it’s still accessible by the public and/or the browser. I would like to make it accessible by cron and the owner/group only.

How to search for accessible routes? (In case, Seattle)

When arriving to my Airbnb close to the Montlake Boulevard Market, I found there are a number of stairs to climb from the Montlake Freeway Station. But there are other bus stops in the immediate vicinity which are level with the street. Is there a route planner which would show / avoid such problems? Just in Seattle is helpful but globally would be even better.

How to search for accessible routes? (In case, Seattle)

When arriving to my Airbnb close to the Montlake Boulevard Market, I found there are a number of stairs to climb from the Montlake Freeway Station. But there are other bus stops in the immediate vicinity which are level with the street. Is there a route planner which would show / avoid such problems? Just in Seattle is helpful but globally would be even better.

Connecting to Windows NAS devices: WD is accessible, but Buffalo LinkStation is not

Running Ubuntu 18.04.2. I have two NAS devices on my (Windows) workgroup. Ubuntu can connect to one of them (a WD MyCloud) with the samba protocol smb://mywdshare/share, but the other NAS (Buffalo LinkStation), using smb://mylinkstation/share, returns a “Failed to mount Windows share: Connection timed out” error. I’ve made the most commonly suggested changes

sudo gedit /etc/samba/smb.conf client max protocol = SMB3 

but they don’t make any difference. I’ve tried accessing the share both using Nautilus and a terminal, with the same result. Any other ideas?

OpenSSH no longer accessible

I just installed a fresh copy of Ubuntu 18.04 server on an older mac mini. Initially I was using a hard line for networking but after fighting with netplan I finally got wifi working. However, in a very strange turn of events ssh suddenly stopped working altogether. The computer is connected as I can see an ip address when running ifconfig and I can connect to the network and internet as a whole. When I try to ssh to the machine though I only receive a timeout. What could possibly be causing this?

What could an attacker do on a server where Source Control Management (SCM) files are accessible?

I’m testing some servers with OpenVAS and I run into some SCM files that are remotely accessible:

.git/config .git//info/exclude .git/description .git/HEAD that contains refs/heads/master 

and

.git/refs/heads/master that contains a hash 

I’m new to git and my experience with it is pretty basic. My question is what can an attacker do with the information inside these files and the hash I’ve found inside .git/refs/heads/master?

Drupal 8 database not accessible in root path

I have created a file and handle some db operations select and update but i am getting error like The “specified database connection is not defined:”.

I have included the following things use Drupal\Core\Database; use Drupal\Core\Database\Query\Condition; use Drupal\Core\Site\Settings; use Drupal\Core\Database\Connection as DatabaseConnection;

But its not working, How to resolve that problem?

How to resolved that?

Creating an accessible, animated, and responsive navigation system

I’ve been struggling for the past couple weeks to design the perfect navigation (menu) system for my personal website which I am designing.

First, I need a system that is completely accessible as I am trying to reach compliance with the WCAG 2.0 level AA.

Second, as a graphic designer, I want my site to have some degree of animation to the navigation system (think Google’s material style of motion).

Third, the navigation must be responsive and collapse for mobile applications.

What I have so far is a basic list-based menu system, featuring four main links, one of which also features a dropdown menu. I am having trouble balancing these three attributes I am seeking, particularly as a result of trying to ensure the navigation is both accessible and responsive.

I have been trying to follow W3C’s tutorial here for the bulk of my system, but the main technical issue with their implementation is that display:none is used, which breaks any animation I try to develop.

The second technical issue is that I have a “checkbox hack” based solution for my responsiveness, and while it is hidden from screen readers and in my testing they are still able to access the menu at smaller sizes, people warn to stay away from this solution. I’ve read many, many articles on this subject and there just doesn’t seem to be a definitive solution to my problems. Is there no perfect menu system? (Rhetorical, I know.)

My implementation thus far can be examined here: https://codepen.io/anon/pen/wXgrqP, the only immediate accessibility issues that I notice is that a screen reader will read items on the drop down menu for “Work” while the menu is not expanded, but because my menu is not that large, I am also wondering if this is actually an issue I should be worried about?

Thank you for listening to my ramblings!

Is there a Sharepoint URL link which shows all accessible sites for a user?

Im wondering if there is URL in Sharepoint O365, which gives to a standard O365 user (NOT and admin) an view / list of all websites, on which the user has access.

At the moment, if the user opens the sharepoint in O365 it displays 3 categroies:

  1. News from Websites
  2. Frequent websites
  3. Suggested websites

These 3 categories do have some of the websites, but not all. Because there is a limit of displaying a website. So that’s why im asking this question.

Thank you.

Bootcamp windows partition not accessible from parallels

I installed windows 10 pro into my mac (MacBook Pro Mid 2015 – macOS Mojave v10.14.4) from Bootcamp. It was successful!

Then I created a partition (Drive D) in the windows instance using windows’s Disk Management tool.

I have no issues in accessing this partition when I log into Windows on startup (that is not as a Virtual Machine).

But when I run the same windows instance logging into the Mac via parallels (parallels desktop 14), I can’t access the windows Drive D.

It gives an error,

You need to format the disk in Drive D: before you can use it

and when I try to format it, it gives an error,

Windows was unable to complete the format

and then this,

enter image description here

Is there any way I can access this Drive D via Parallels?