Show original
Enjoyed this article?
Use "Request tipping" to ask the author to set up tip receiving.
AI translation
安全と便利さを意識したWebFTPサービス
Enjoyed this article?
Use "Request tipping" to ask the author to set up tip receiving.
When creating websites and managing files, I can use FTP applications like WinSCP on PC, but I usually work on iPad, so I've been managing files using either the hosting provider's Web FTP or my own custom file manager.
However, my custom file manager uses HTML, CSS, JS, and PHP, and needs to be placed within the public range of the web server. Due to permission restrictions, I could only edit files on the domain where the file manager was installed. As a result, there were drawbacks such as needing to install the file manager on every domain and opening it each time, as well as the difficulty of sharing across different domains.
So I thought that by creating a single web service that combines Web FTP and a PHP file manager—one that works with both FTP connections and PHP connections—management would become easier and work efficiency would improve.
With that in mind, I utilized AI tools I regularly use like Gemini and Claude to develop the backend parts I wasn't familiar with, and successfully completed the frontend as well, finishing a web app that has taken a reasonable form.
This time, improving work efficiency is important, but if FTP information were to be stolen, it would be a serious problem. So I proceeded with the policy of never storing FTP passwords, and I realized that if I encrypt other connection information with the FTP password, I could achieve safety & decrypt and connect all at once when connecting. I improved on this and arrived at the current form.
The PHP Agent connection of this Vis0 WebFTP requires placing a PHP file within the public range of the destination server, so many people might be concerned about security issues. However, with CORS settings, I'm rejecting access from servers other than this WebFTP, and also rejecting direct access via browsers! Therefore, I believe it is relatively safe.
Since Vis0 WebFTP was just completed, it's currently in an early access limited period where all plans can be tried for free!
Please try out this Vis0 WebFTP and give me your feedback and impressions!
Webサイトを作ったりする際のファイル管理などで、PCの時はWinSCPなどのFTPアプリを使用できますが、僕は普段iPadで作業することが多く、毎回ホスティングのWebFTPか自作のファイルマネージャーを使って管理することが多い現状がありました。
しかし、自作のファイルマネージャーはHTML,CSS,JS,PHPを使用し、Webサーバーの公開範囲に置く必要があり、権限の関係からファイルマネージャーを設置したドメインのファイルしか編集できませんでした。その結果、全てのドメインにファイルマネージャーを設置し毎回開いたりする必要や、別ドメインへの共有が簡単ではないことなどのデメリットがありました。
そこで、WebFTPとPHPのファイルマネージャーを掛け合わせたような、FTP接続もPHP接続でも使える1つのWebサービスを作成すれば、管理も楽になり、作業効率もアップすると考えました。
そうして、GeminiやCluadeなどのいつも愛用しているAIを活用し、わからないバックエンドなどを制作しフロントも無事完成させ、今回ある程度の形となったWebアプリを完成させました。
今回は作業効率アップも重要ですが万が一FTP情報などが盗まれてしまうと大変なことになってしまいます。そこで、FTPパスワードを一切保存しない方針で進め、他の接続情報もFTPパスワードで暗号化すれば、安全&接続時に一気に復号と接続ができるということに気づき、改良して現在の形になりました。
このVis0 WebFTPのPHP Agent接続は接続先サーバーの公開範囲にphpファイルを設置するため、もしかしたらセキュリティーの問題を懸念される方も多いかもしれません。しかし、CORS設定でこのWebFTP以外のサーバーからのアクセスを拒否、ブラウザ経由での直接アクセスも拒否しています!そのため比較的安全であると思っています。
このVis0 WebFTPはできてすぐということで現在早期アクセス限定の期間中全てのプランが無料で試せるキャンペーンを行っています!
ぜひこのVis0 WbFTPを使ってみて、フィードバックや感想をぜひお願いします!