Live data from Hacker News

Itty Bitty: Sites contained within their own links

itty.bitty.site

11–20 of 111 posts

Re: Itty Bitty: Sites contained within their own links

#11
post #7

How does this compare with data URLs?

It is smaller then data urls becausde the base HTML and javascript is provided by the itty.bitty server and not part of the data url. Only the inner content is encoded. So it is much smaller then a data url but requires a server to serve the initial decoding HTML page.

Re: Itty Bitty: Sites contained within their own links

#12
post #8

The link says > nothing is sent to–or stored on–this server but isn't it the case that the entire page is sent to bitty.site as part of the HTTP request?

most http clients (browsers included) will omit url data after the # character, eg:

`https://itty.bitty.site/#About/XQAAAAKrCQAAA...`

only sends

`https://itty.bitty.site/`

to the server.

Re: Itty Bitty: Sites contained within their own links

#13
This is neat!

My second reaction (after "awesome!") was that I'd love for this to support some kind of optional identifier+hmac functionality. That's not necessary for when you are fully in control of where people get the links of course, but as soon as someone starts sharing links to "your" content they can by definition modify it as well. It'd be cool if I could share a page that says "by chias" and that can prove it.

Then again, that would require itty-bitty to know that I exist, store my key somewhere, have some kind of auth system for me to log in and set my key... and now we're talking usernames, passwords, recovery email addresses, etc. etc., and I love the concept of services offered to people that explicitly don't do any of that. So third reaction is that it's great as-is :)

Re: Itty Bitty: Sites contained within their own links

#15
post #5

Don't use this for anything where you don't want cross-site-scripting vulnerabilities...

What would such a cross-site scripting vuln do? There isn't anything to steal.

Moreover you wouldn't use this for anything where you aren't in control of where people get the links from, because as soon as someone else starts sharing it they can of course edit it too.

Re: Itty Bitty: Sites contained within their own links

#18
This seems like an exceptionally bad idea.

Even if if just used it for my blog, an attacker can craft a URL which renders obscene content ("Hitler did nothing wrong"), then scatter that link everywhere on the web and get it crawled. Eventually it shows up in searches, but it's definitely "on my domain."

Furthermore, it's like running a public anonymous FTP, it'll just get used as a malware hosting tool as soon as it's found.

Re: Itty Bitty: Sites contained within their own links

#20
post #11
post #7

How does this compare with data URLs?

It is smaller then data urls becausde the base HTML and javascript is provided by the itty.bitty server and not part of the data url. Only the inner content is encoded. So it is much smaller then a data url but requires a server to serve the initial decoding HTML page.

The base HTML/javascript coming from the itty.bitty server does not make it smaller. As a matter of fact, it appears that the javascript provided by itty.bitty simply decompresses the URL fragment and then converts it into a data-URI and passes that to an iframe.

So it is smaller than a data URI - but only because it is compressed.

Post reply on HN