从移动应用程序的URL中获取文件:如何管理运行Joomla的服务器端? [英] fetching a file from a url for mobile app: How to manage server side running Joomla?

查看:77
本文介绍了从移动应用程序的URL中获取文件:如何管理运行Joomla的服务器端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是网站开发和设计的新手,如果问题很严重,请提前道歉.

Im new to website development and design so apologize in advance if the question is redundant.

我有一个程序,其中客户端使用URL字符串从Web服务器获取XML文件.如果它是一个没有安全性或不涉及CMS(例如Joomla)的简单URL,那就没问题了:只需输入确切的URL字符串,客户端就可以从Web服务器获取文件了.

I have a program where a client, using a URL string fetches a XML file from a webserver. This would be no problem right if it were a simple URL with no security or no CMS (like Joomla) involved: Just put the exact URL string and the client gets the file from the web server, done.

但是,如果URL在GoDaddy托管的我的网站上并使用Joomla CMS,该过程将如何工作?

But, how would the process work if the URL is on my site hosted on GoDaddy and using a Joomla CMS?

我试图了解使用CMS在托管服务器上进行文件提取的相同过程是如何工作的.自从我将网站从我学校的服务器转移到在goDaddy上托管Joomla网站后,我就开始了.

Im trying to understand how the same process of fetching a file works on a hosted server using a CMS. Since I just made the transition from my site being on my school's servers to having a Joomla website Im hosting on goDaddy.

我的意思是,如果我还希望仅当客户端首先对其自身进行身份验证时才可访问该文件,我将把文件放在哪里.只是为了安全起见.我的意思是,这是移动应用程序中正常工作的方式吗?我有一个客户端程序,即一个iPhone应用程序,并且在该应用程序中,我有一个XML文件,该文件用作UITavleView的数据源,但是我想检查一些URL以查看XML文件的更新版本是否存在.我的应用程序端编程大部分都已完成,现在我正在尝试学习服务器端要做的事情,以使此过程在Joomla和我自己的托管网站上实现

I mean where would I put the file if I also want the file to be accessible only if the client authenticates itself first. Just to be on the safe side. I mean is this how normally things work in mobile apps? I have a client program thats a iPhone app and within the app I have a XML file which is used as a data source for my UITavleView, but I want to check some URL to see if an updated version of the XML file exists. My app side programming is mostly done, now Im trying to learn the server side things I need to do to make this process happen with Joomla and my own hosted site

在这种情况下,我不知道该流程将如何工作.我的意思是,要使之成为可能,我需要在服务器端和客户端执行哪些操作?

I donot understand how would the process work in that case. I mean, what are the things I would need to do on the server side to and the client side to make this possible?

请帮助我理解,或者如果您可以指向一些说明了这些步骤的链接...或者如果您可以给我一些Google关键字,我可以进行搜索以了解此过程.

Please help me understand or if you could point me to some links where these steps are illustrated...or if you could give me some Google key words I can search for to learn about this process.

非常感谢

推荐答案

拥有CMS的事实通常不会更改域文件结构中文件的访问方式,除非CMS保护某些目录.在这种情况下,Joomla不会,因此您可以直接访问所需的任何文件.根据您尝试检索的信息的敏感性,可以通过域管理面板保护目录.如果不是很敏感,可以通过应用程序进行身份验证,因为您访问的URL可以很容易地对用户隐藏.

The fact that you have a CMS does not generally change how you access a file within the file structure of your domain unless the CMS protects certain directories. In this case, Joomla does not so you can directly access any file you wish. Depending on the sensitivity of the information you are trying to retrieve, you can protect the directory through your domain management panel. If it's not particularly sensitive, the authentication can be done by the app since the URL you are accessing can be easily hidden from the user.

这似乎是最简单的解决方案,因为该应用程序可以根据其驻留的位置来访问用户信息.

It seems like that would be the simplest solution since the app will have access to user information by nature of where it resides.

这篇关于从移动应用程序的URL中获取文件:如何管理运行Joomla的服务器端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆