Directionally impassable to passable tiles and vice versa

Hello! I'm having some trouble making a porch. I'd like a player to be able to walk onto it via stairs, but I'd like them to be unable to walk off of it except by the same stairs. No falling off of porches. I don't want to make the tiles bordering the porch to be impassable except when bumped into from on the porch. In other words, the player can walk on the bordering tiles from off of the porch only. I have a few screenshots of what I mean. Is this possible?
Capture.PNG
Capture2.PNG


Edit:
I used this link helpful link on autotiles here: https://forums.rpgmakerweb.com/index.php?threads/shift-click-mapping.14387/
Using those methods I was able to make the tile to the right of the stairs passable by shift-right clicking a tile above and to the right of it (this copies the tile you right clicked exactly as it is without changing the connected variation when you paste it), and then shift-left clicking to paste it to the right of the stairs. It made it look distorted between that tile and the one to the right of it, so I right clicked (normally) a tile above and to the right and pasted (normally) the tile on bottom far right. This made it look normal as well as function how I wanted it to. I appreciate everyone's help!
On the tileset tab click the 4 direction button then click the sides of the tile in question. That will allow the player to move up and down but not sideways.
What you describe is the default behaviour of the wall/ceiling tiles, where the ceiling tiles are used to simulate a two-level-map.

However there is one thing to keep in mind, no matter if you use the automatic directional passability of the A4 tiles or if you place manual direction blocks like described above:
You can pass from the restricted upper level to the regular floor by any override. This is intended to be used for the ladders and ropes that exist in the default tilesets, but due to engine limitations every passable "decoration" is considered an override. so if you place a passable flower next to the border, the player will be able to use this to enter/leave the upper area as well.

You need to keep this in mind when designing a two-level-map and not place decorations where they would become overrides.
The Walltops on the A Tilesets should have the passability behavior you are looking for. They are used to simulate an simple kind of 2 Layer hight.
But you need to make an Opening between the Wallside and your Stairs.
This Tutorial could help:
https://forums.rpgmakerweb.com/index.php?threads/shift-click-mapping.14387/
And what Andar said.
The Walltops on the A Tilesets should have the passability behavior you are looking for. They are used to simulate an simple kind of 2 Layer hight.
But you need to make an Opening between the Wallside and your Stairs.
This Tutorial could help:
https://forums.rpgmakerweb.com/index.php?threads/shift-click-mapping.14387/
And what Andar said.

That was very helpful! Thank you so much! I'll add how it was solved to my post in case anyone else has this same question.

Original thread: https://forums.rpgmakerweb.com/threads/directionally-impassable-to-passable-tiles-and-vice-versa.113200/